Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!