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.

Réponses (1)

Paul
Paul le 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.

Catégories

Produits

Version

R2024b

Question posée :

le 11 Jan 2025

Réponse apportée :

le 11 Jan 2025

Community Treasure Hunt

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

Start Hunting!

Translated by