My subsystem references won't load in my model when I'm opening my project

17 次查看(过去 30 天)
Hello everyone!
I have a model that I run from a project, together with some startup-files. The model is in the same folder as the project-file, but the subsystem references that is used in the model are in a subfolder of that folder, called "subsystems". The subsystem references won't load into the simulink model when I open the project. I have pressed "Add to the Project Path (Including subfolders)" on the "subsystems" subfolder, but they still are not loaded when I open the project.

回答(1 个)

Benjamin Thompson
The project editor has a button called "Project Path" to open a "Manage Project Path" dialog box. You should set up project required paths there so that the project load success is not dependent on your MATLAB path. This is also good for other users if you are sharing a GIT repository containing projects with others.

类别

Help CenterFile Exchange 中查找有关 Create Large-Scale Model Components 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by