Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

2 次查看(过去 30 天)
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.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by