MATLAB overwriting my Simulink simulation?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (1)
Raj
il 28 Mar 2024
Hi @Jasim Alqam
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!
0 Commenti
Vedere anche
Categorie
Scopri di più su Data Logging in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!