Info
此问题已关闭。 请重新打开它进行编辑或回答。
Modify the value of a Matrix in the Base Workspace from a Simulink Block's Callback (or Initialization)
1 次查看(过去 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.
1 个评论
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!