Could not define a data in matrix form in model workspace ( for simulation)
11 views (last 30 days)
Show older comments
I had to do multiple interation of simulation and record plot for numerous set of setting
hence it was convenient to define the variables in a matrix form and run simulation but the variable are not being stored in base worspace after restart of system. and in Model workspace it si not possible to use a matrix in data.
kindly guide me in the same.
0 Comments
Answers (1)
Paul
on 11 Jan 2025
Based on the limited description, I'm not quite sure how you'd like to run multiple iterations of a simulation for different parameters. One way to do that is using the Simulink.SimulationInput object with the sim command. More generally, see Running Multiple Simulations.
0 Comments
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!