Could not define a data in matrix form in model workspace ( for simulation)
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.
Answers (1)
Paul
on 11 Jan 2025
0 votes
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.
Categories
Find more on Manual Performance Optimization 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!