how to know which Simulink project my model belongs to ?

hello,
I know it's possible to know which project a model belongs to by using the menu "File > Simulink Project > Show in project". I want to do the same in a script so is there a function for that ?
thanks
Laurent

回答 (1 件)

Laurent Dalbies
Laurent Dalbies 2018 年 10 月 9 日

0 投票

finally I've found my own answer. Use prj = simulinkproject to return the active project. Plenty of useful information in it.
Cheers.
Laurent

カテゴリ

ヘルプ センター および File Exchange で Create Large-Scale Model Components についてさらに検索

製品

リリース

R2017b

質問済み:

2018 年 10 月 9 日

回答済み:

2018 年 10 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by