Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Modify the value of a Matrix in the Base Workspace from a Simulink Block's Callback (or Initialization)

1 回表示 (過去 30 日間)
Andrea De Lorenzi
Andrea De Lorenzi 2018 年 2 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, I would like to build a Subsystem that, before the Model Simulation, modifies the values of a variable (a Matrix) in the Base Workspace (I need that it appens before the Model Simulation because other blocks in the Model use the variable during the simulation). I thought that a good solution could be to use the Subsystem Callback or the Mask Initialization, but I had some problems in writing the Matrix Values in the Base Worspace.
  1 件のコメント
lokender Rawat
lokender Rawat 2018 年 3 月 5 日
What problems are you facing when writing the values to the Base Workspace ? Could you elaborate more on this ?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by