How can I visualize physical data logged by Simscape?

I log data from my Simscape simulation to help me debug my simulation. Is there a simple way to visualize this information?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 25 Mar 2023
Modifié(e) : MathWorks Support Team le 27 Mar 2023
Logged data can be visualized using the Simscape Simulation Results Viewer available from MATLAB Central. Download this into a location on your MATLAB path.
To log simulation data in a Simscape model, open the Configuration Parameters dialog for the model. Selecting Simscape to access the Data Logging pane.
After running a simulation, the logged data will be available in the MATLAB workspace as a simscape.logging.Node object.
Run the Simscape Simulation Results Viewer with the following syntax
ssc_explore(simlog)
where simlog is the name of the simscape.logging.Node object in the MATLAB workspace.

Plus de réponses (0)

Produits

Version

R2010a

Community Treasure Hunt

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

Start Hunting!

Translated by