how to load parameter using open_system()
1 回表示 (過去 30 日間)
古いコメントを表示
- i want to know how to load parameter when i use 'open_system(" ")' to open simulink.
- for example 'highway lane following' when i wirte open_system("HighwayLaneFollowingTestBench") all parameter are load.
0 件のコメント
回答 (1 件)
Fangjun Jiang
2022 年 2 月 17 日
open_system() only opens the Simulink model. It won't load parameters.
However, the Simulink model itself might have setup to load the parameters. You can set it up in model properties, callbacks, PreLoadFcn. Or the parameters can be saved in the model workspace. They will be loaded when the model is opened.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!