Code covered by the BSD License  

Highlights from
Simscape Simulation Results Explorer

5.0

5.0 | 5 ratings Rate this file 33 Downloads (last 30 days) File Size: 9.61 KB File ID: #28184
image thumbnail

Simscape Simulation Results Explorer

by Atul Suri

 

12 Jul 2010 (Updated 30 Nov 2010)

Tool for navigating and plotting Simscapeā„¢ simulation data, created in MATLABĀ® code

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

This file creates an interactive GUI for navigating and plotting Simscape simulation data. You can navigate the simscape.logging.Node object using a tree browser, and the data is plotted for you automatically. This makes it easier to plot the different physical quantities in your network without using sensors.

To use this file, simply pass the simscape.logging.Node object to the function:
>> ssc_explore(simlog)

To watch a video demonstration of the Simscape logging capability, go to http://www.mathworks.com/products/demos/simhydraulics/Simscape_Demo_Logging_Pneumatic/

To find other physical modeling examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Physical Modeling Products, go to: http://www.mathworks.com/physical-modeling/

Required Products Simscape
Simulink
MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
19 Jul 2010 Niall Caldwell

This is a significant improvement to the usability of Simscape, and an encouraging sign that Simscape will continue to develop.

As well as the obvious productivity improvement, this will help modelling accuracy because the ability to browse all of the logged data using the tree encourages critical examination of all of the activity inside the model, rather than just the signals which have signal converters chosen by the user.

I look forward to the ability to define default "human-friendly" units for the various quantities in a future release. Certainly for hydraulics, "m3/s" and "Pa" are difficult for engineers to relate to.

21 Jul 2010 Atul Suri

Niall,

Thanks for the feedback. I'll keep this in mind for future updates. I provided this functionality in MATLAB Central so that the community can modify and improve the implementation and submit changes back to MATLAB Central for others to use.

The underlying simscape.logging.Node object provides unit conversion functionality so plotting in "human-friendly" units is supported by the underlying object. It is also simple to implement: all you need to do is define a list of "human-friendly" units and then in the localPlot function extract the values in "human-friendly" units if such units exist for the quantity being plotted. Everything else should work just fine.

Thanks,
-Atul

22 Jul 2010 Will Campbell

Without this tool, I wouldn't be using Simscape logging. The Results Viewer should be incorporated into product releases :).

06 Dec 2010 Chee Syn Ang

Nice work!

19 Dec 2010 Roni Peer

Wow.
One of the most useful files I've ever found here.
Nice Work!

24 Jan 2011 Eric

can someone give me a more detailed explanation of how to set this tool up? I am not sure what is exactly meant by "To use this file, simply pass the simscape.logging.Node object to the function:
>> ssc_explore(simlog)"

THANKS!

17 Feb 2011 Keith

Very useful tool. However, English units are incorrect.

e.g. simscape doesn't have a "lb" or a "F" (temperature) defined unit . Changing lb->lbm and F->R gives me the correct behavior.

22 Jun 2011 Etienne

Hi there

I have a dataset that would be best inspected via a tree structure. The labels can be broken into something like a tree. I was hoping to use this tool. Is there a way that I can generate a SimScape logging node without actually using Simulink, but creating a node from the data?

Please login to add a comment or rating.
Updates
12 Jul 2010

updated trademark

30 Nov 2010

Updated ssc_explore to include several new capabilities. New enhancements include:
* Multi-selection
* Reload data
* Plot options
** Marker selection
** Time axis linking
** Axis alignment
** Custom units

Tag Activity for this File
Tag Applied By Date/Time
physical modeling Atul Suri 12 Jul 2010 16:35:58
physical modeling Niall Caldwell 15 Jul 2010 11:58:47
simscape Jeff Wendlandt 15 Jul 2010 12:00:48
simscape Atul Suri 19 Jul 2010 16:48:20
potw Will Campbell 17 Dec 2010 10:02:57
pick of the week Jiro Doke 11 Feb 2011 20:01:11

Contact us at files@mathworks.com