how can i send constant input values to workspace from simulink model?

2 ビュー (過去 30 日間)
shivakumar
shivakumar 2013 年 4 月 15 日
how can i send constant input values to workspace from simulink model and later how can i use those variables in mfile, do some changes to them and then sending it back to simulink model?
  2 件のコメント
Yao Li
Yao Li 2013 年 4 月 15 日
The changes will be made during the simulation or after the simulation? If you just wanna change the value after a simulation and apply the new value in the next simulation, use the block to workspace.
shivakumar
shivakumar 2013 年 4 月 16 日
編集済み: shivakumar 2013 年 4 月 16 日
During simulation.

サインインしてコメントする。

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 4 月 16 日
If you are using a constant block, it's more logical if you define your constant c in windows command or in your m-file which you need to run before starting your simulation, and set your constant bloc value to c.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by