{"id":7539,"date":"2018-05-24T15:08:23","date_gmt":"2018-05-24T20:08:23","guid":{"rendered":"https:\/\/blogs.mathworks.com\/simulink\/?p=7539"},"modified":"2018-05-24T15:08:23","modified_gmt":"2018-05-24T20:08:23","slug":"simulation-data-inspector-in-r2018a","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2018\/05\/24\/simulation-data-inspector-in-r2018a\/","title":{"rendered":"Simulation Data Inspector in R2018a"},"content":{"rendered":"<p>Over the past few releases, many enhancements have been added to the Simulation Data Inspector. Let's look at a few of those I particularly like.<\/p>\n<p><strong>Browse Mode<\/strong><\/p>\n<p>By default, in the Simulation Data Inspector you select which signals are displayed by checking and unchecking a checkbox for each signal, or by dragging them on the axis onto which you want to plot them. Here is what it looks like for a simple example model. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/selectMode.gif\" alt=\"Select Mode\" \/><\/p>\n<p>While this can be useful for some workflows, when I debug models, what I usually need is to scan a large number of signals as fast as possible. For that, we introduced <strong>Browse Mode<\/strong>. Here is how to enable Browse Mode:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/chooseBrowseMode.png\" alt=\"Choose Browse Mode\" \/><\/p>\n<p>Now I can use the arrow keys to browse the signals, along with Ctrl and Shift keys for multi-selection like in most applications. Here is me browsing logged signals for the same model:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/browseMode.gif\" alt=\"Browse Mode\" \/><\/p>\n<p>See <a href=\"https:\/\/www.mathworks.com\/help\/simulink\/ug\/iterate-model-design-with-the-simulation-data-inspector.html\">this documentation page<\/a> for more information on Browse Mode<\/p>\n<p><strong>Simscape Enhancements<\/strong><\/p>\n<p>In R2018a, we added the possibility to directly record Simscape data in the Simulation Data Inspector. This can be enabled from the Simscape section of the model configuration:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/enabSSCLogging.png\" alt=\"Choose Browse Mode\" \/><\/p>\n<p>Another capability that has been added to the Simulation Data Inspector is the possibility to visualize logged data in different units. If I enable the Units column in the signal list, I can see a list of commensurate units from which I can choose from.<\/p>\n<p>Here is one more animation to demonstrate this feature. I have Simscape data logged in the Simulation Data Inspector, I chose to hide the column showing the line color, I enabled the Units column, and I grouped the signal using the Physical System Hierarchy, in Browse Mode:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/physmodSDI.gif\" alt=\"Simscape data in SDI\" \/><\/p>\n<p><strong>Now it's your turn<\/strong><\/p>\n<p>Please share any features you use to improve your workflow in the Simulation Data Inspector in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q2\/physmodSDI.gif\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>Over the past few releases, many enhancements have been added to the Simulation Data Inspector. Let's look at a few of those I particularly like.<br \/>\nBrowse Mode<br \/>\nBy default, in the Simulation Data... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2018\/05\/24\/simulation-data-inspector-in-r2018a\/\">read more >><\/a><\/p>\n","protected":false},"author":41,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[121,11,16],"tags":[321,320],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7539"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=7539"}],"version-history":[{"count":11,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7539\/revisions"}],"predecessor-version":[{"id":7567,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7539\/revisions\/7567"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=7539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=7539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=7539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}