Clear Filters
Clear Filters

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

16 views (last 30 days)
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.

Answers (1)

Benjamin Thompson
Benjamin Thompson on 7 Mar 2022
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.

Categories

Find more on Create Large-Scale Model Components in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!