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?

 Accepted Answer

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.

More Answers (0)

Products

Release

R2010a

Community Treasure Hunt

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

Start Hunting!