Borrar filtros
Borrar filtros

MATLAB overwriting my Simulink simulation?

1 visualización (últimos 30 días)
Jasim Alqam
Jasim Alqam el 22 de Nov. de 2021
Respondida: Raj el 28 de Mzo. de 2024
Im trying to plot multipe curve in one chart and Simulink is overwriting my data in MATLAB every time I run a simulation although I changed the variable name every time I change my parameters?

Respuestas (1)

Raj
Raj el 28 de Mzo. de 2024
As per my understanding, you are facing issues with multiple simulation and data getting overwritten with every simulation.
For plotting multiple curve in one chart, you need to use the 'hold' function in your script. This will help you retain current plot when adding new plots. For better understanding you can refer to the following documentation link for the 'hold' function.
I hope this resolves your query!

Categorías

Más información sobre Data Logging en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by