Simulink Project Cloned Repository not keeping configuration

2 次查看(过去 30 天)
I'm cloning a Simulink Project from git revision control. On my original workstation I have all the Model Configuration parameters set, such as simulation time, step time, discrete steps, etc. When I've cloned the repository onto a laptop and open the model, all the configuration parameters are default (10 seconds sim time, variable step solver, etc...
How do I get simulink project to push the configuration parameters to git?
Matlab 2014b

采纳的回答

Dave Walter
Dave Walter 2016-9-26
The issue is a compatibility issue between 2014b and 2015b. When the original Simulink Project was created and pushed to a remote repository using git and 2014b, if you clone that repo using 2015b it will not correctly clone the Configuration Parameters.

更多回答(1 个)

Tim Hosey
Tim Hosey 2016-9-26
After committing your changes to your local repository, you must then push the latest commit in the local repository to the remote repository.
You can do this by clicking the push button in the source control panel in the bottom left hand corner of the Simulink Project's user interface.
  1 个评论
Dave Walter
Dave Walter 2016-9-26
The repo has already been committed and pushed to a remote repository. The question is referring to after cloning the remote repository to a new computer.
I found the problem is a compatibility error from opening the Simulink Project in 2015b when it was cloned from a remote made from 2014b.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by