How to set parameters in Simulink outside of the Mask Initailize
3 ビュー (過去 30 日間)
古いコメントを表示
I am trying to figure out a way to move my parameter constants into the Simulink Model space with appropriate blocks. Currently, the parameters are initialized in the Mask of the overall block. The function blocks that use specific parameters in their functions have them specified in the ports manager for each individual block.
Any ideas would be greatly appreciated!
0 件のコメント
回答 (1 件)
Sebastian Castro
2017 年 9 月 22 日
How about the Model preload callback? The images in this blog are old, but things still work this way:
- Sebastian
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!