Simulation Data Inspector - set axes limits programmatically

I like to use the Simulation Data Inspector in Simulink to display simulation results. Is there a way to set the plot axes limits of an existing plot programmatically?
If you have to focus on a certain area of the results for different simulation runs frequently, it is tedious to always right-click the plot, click on "Visualization settings" and edit the values to get exact axes limits.

1 comentario

I had tried to save a data inspector session with the correct axes limits and use it for each simulation. However, sometimes the axes limits change.

Iniciar sesión para comentar.

 Respuesta aceptada

Arvind R.
Arvind R. el 14 de Abr. de 2021
Hi,
The ability to programitically change limits in Simulation Data Inspector is now available R2021a onwards.
Here are the links to the documentation -
Thanks,
Arvind

Más respuestas (1)

Hari Veerubhotla
Hari Veerubhotla el 16 de Sept. de 2020
Hi,
Currently, there is no such support in Simulink Data Inspector where you could set the axes limits for a plot in Simulation Data Inspector programmatically using an API.
Axes limits can only be set from UI
Concerned development team is aware of this and API support will be considered for future releases
-Thanks

1 comentario

Thanks for your reply. I hope for this usability enhancement.

Iniciar sesión para comentar.

Categorías

Más información sobre Prepare Model Inputs and Outputs en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 3 de Dic. de 2019

Comentada:

el 7 de Feb. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by