Use a value from a Simulink model in another Simulink model
18 ビュー (過去 30 日間)
古いコメントを表示
Hi.
I got a simulink model where uses an input value from a matlab function . I have another model that I wish somehow to use the same value from previous model instead of reopening the function and ask the user twice.
Alternatively, if there a way that I could save the value from model 1 in workspace, I will handle to import it to model 2 via 'fromworkspace' block.
0 件のコメント
回答 (1 件)
Marcelo
2021 年 12 月 16 日
You can try to use the "To Workspace" block, which is found inside Simulink/Sinks in Browser, and it is the inverse of the "From Workspace" block.
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!