Rename .prj project file

41 views (last 30 days)
men8th
men8th on 14 May 2020
Commented: Fraser Macmillen on 10 Aug 2020
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.)

Answers (1)

Nicolas MO
Nicolas MO on 24 Jun 2020
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 Comment
Fraser Macmillen
Fraser Macmillen on 10 Aug 2020
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.

Sign in to comment.

Categories

Find more on Source Control in Projects in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!