필터 지우기
필터 지우기

MATLAB overwriting my Simulink simulation?

조회 수: 1 (최근 30일)
Jasim Alqam
Jasim Alqam 2021년 11월 22일
답변: Raj 2024년 3월 28일
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?

답변 (1개)

Raj
Raj 2024년 3월 28일
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!

카테고리

Help CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by