simulink scope: scale x axis
Mostra commenti meno recenti
Hello,
my question is about scaling the x axis of a simulink scope.
My model runs with time steps of 15 seconds and simulates several hours or days. When I have a scope connected, The x-axis does not really give useful information as 7x10^5 s is really hard to imagine. I would rather have the x-axis display the time in hours or days, but I don't know how to do this.
I know how to do this using figures after the simulation terminated, but I need it while the simulation is running.
Could anyone please give me a hint?
Thanks in advance
Swantje
Risposte (1)
Surya Talluri
il 12 Ott 2020
0 voti
I understand that you want to change time units from seconds to hours/days of a scope during the simulation. You can do that by going to View > Configuration Properties > Time and setting Time units to Metric (based on Time Span) option. You can do this during the simulation without stopping or pausing the simulation.
1 Commento
Swantje Dettmann
il 19 Ott 2020
Categorie
Scopri di più su Scopes and Data Logging in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!