Rename .prj project file

56 次查看(过去 30 天)
men8th
men8th 2020-5-14
I am using a Matlab/Simulink project to manage my files. The project is managed using a file with extension .prj. Does anyone have any experience renaming the .prj file? When I created the project I didn't give it a very sensible name and it's irritating me now. I'd like to change the name but I don't want to break the project. (Source control is managed with git.)

回答(1 个)

Nicolas MO
Nicolas MO 2020-6-24
Hi,
A colleague has renamed the PRJ file under the source control (GIT) and then performed the MERGE (in the local folder) without problem.
Don't forget to rename the project into "Simulink project" tab, > "Details" button.
See you,
Nicolas
  1 个评论
Fraser Macmillen
Fraser Macmillen 2020-8-10
This is correct, there are two steps required: i) renaming the prj file, ii) renaming the project itself (via the dteails pane as noted above). In future we are hoping to have a project rename function, but these two actions should do the trick.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Source Control 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by