フィルターのクリア

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

17 ビュー (過去 30 日間)
Camilla Greve Hartviksen
Camilla Greve Hartviksen 2022 年 3 月 6 日
回答済み: Benjamin Thompson 2022 年 3 月 7 日
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
Benjamin Thompson 2022 年 3 月 7 日
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 Center および File ExchangeCreate 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