Could not define a data in matrix form in model workspace ( for simulation)

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)

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

Products

Release

R2024b

Asked:

on 11 Jan 2025

Answered:

on 11 Jan 2025

Community Treasure Hunt

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

Start Hunting!