{"id":1402,"date":"2012-10-04T07:00:06","date_gmt":"2012-10-04T12:00:06","guid":{"rendered":"https:\/\/blogs.mathworks.com\/seth\/?p=1402"},"modified":"2012-10-03T21:06:43","modified_gmt":"2012-10-04T02:06:43","slug":"exploring-a-model-with-simulink-r2012b","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2012\/10\/04\/exploring-a-model-with-simulink-r2012b\/","title":{"rendered":"New Ways to Explore a Model with Simulink R2012b"},"content":{"rendered":"<p>Last week I showed how to <a href=\"https:\/\/blogs.mathworks.com\/seth\/?p=1325\">pan and zoom<\/a> within one system of a model. This week, we will talk about your options to navigate between systems in Simulink R2012b.<\/p>\r\n\r\n<p><strong>Explorer Bar<\/strong><\/p>\r\n\r\n<p>One of the first things you will notice when you open a model in R2012b is the Explorer Bar:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2012Q3\/explorer_bar.png\" alt=\"Explorer Bar\" \/><\/p>\r\n\r\n<p>The Explorer bar helps you navigate a Simulink model in a manner similar to  how you navigate a file system in Microsoft Windows Explorer and in many Linux distributions.<\/p>\r\n\r\n<p>At the right of each system, there is a triangle. Clicking on the triangle shows the list of subsystems inside this system, and allows you to directly navigate there.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2012Q3\/eb_subsystem_list.png\" alt=\"List of subsystems\" \/><\/p>\r\n\r\n<p>At the right extremity, there is another triangle showing the list of recently visited subsystems, and allowing you to navigate directly there.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2012Q3\/eb_recent_subsystem.png\" alt=\"List of recently visited subsystem\" \/><\/p>\r\n\r\n<p>My favorite part of the explorer bar is when you click between the inner most system and the right-most triangle. This turns the bar into a string that you can edit or copy.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2012Q3\/eb_edit.png\" alt=\"Editing or copying a subsystem path\" \/><\/p>\r\n\r\n<p>In my every day workflow, I often receive and send instructions like:<\/p>\r\n\r\n<p><em>Go inside subsystem ModelName\/subsystem_A\/subsystem_B\/subsystem_C\/...<\/em><\/p>\r\n\r\n<p>In that case, the Explorer Bar replaces the <a href=\"https:\/\/www.mathworks.com\/help\/simulink\/slref\/gcs.html\">gcs<\/a> command I was using to copy the path of a system. It also replaces the <a href=\"https:\/\/www.mathworks.com\/help\/simulink\/slref\/open_system.html\">open_system<\/a> command I was using to reach a subsystem deep in the hierarchy.<\/p>\r\n\r\n<p><strong>Tabs<\/strong><\/p>\r\n\r\n<p>The other great new feature for navigating models is the possibility to have multiple tabs in one window.<\/p>\r\n\r\n<p>I really like using tabs to keep open the subsystems and Stateflow charts that I need to access frequently. Keeping those systems open in tabs significantly speeds up my debugging workflow, especially with a model containing complex Stateflow charts.<\/p>\r\n\r\n<p>When opening a subsystem, you can:<\/p>\r\n\r\n<ul>\r\n\t<li><strong>Double-click<\/strong> to open it in the current tab<\/li>\r\n\t<li><strong>Shift + double-click<\/strong> to open it in a new window<\/li>\r\n\t<li><strong>Ctrl + double-click<\/strong> to open it in a new tab<\/li>\r\n<\/ul>\r\n\r\n<p>If you prefer, you can also right-click on the subsystem and choose how to open it.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2012Q3\/opening_subsystem.png\" alt=\"Options to open a subsystem\" \/><\/p>\r\n\r\n<p><strong>Now it's your turn<\/strong><\/p>\r\n\r\n<p>Let us know what you think of the Explorer Bar and the tabs by leaving a <a href=\"https:\/\/blogs.mathworks.com\/seth\/?p=1402&#comment\">comment here<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Last week I showed how to pan and zoom within one system of a model. This week, we will talk about your options to navigate between systems in Simulink R2012b.\r\n\r\nExplorer Bar\r\n\r\nOne of the first... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2012\/10\/04\/exploring-a-model-with-simulink-r2012b\/\">read more >><\/a><\/p>","protected":false},"author":41,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33,16],"tags":[289],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/1402"}],"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=1402"}],"version-history":[{"count":25,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/1402\/revisions"}],"predecessor-version":[{"id":1439,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/1402\/revisions\/1439"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=1402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=1402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}