{"id":2542,"date":"2010-03-12T13:08:31","date_gmt":"2010-03-12T13:08:31","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/12\/simscape-sensing-made-easy\/"},"modified":"2010-03-12T13:08:31","modified_gmt":"2010-03-12T13:08:31","slug":"simscape-sensing-made-easy","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/12\/simscape-sensing-made-easy\/","title":{"rendered":"Simscape sensing made easy"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\">Jiro<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/17969-simscape-probes\">Simscape Probes<\/a> by our fellow MathWorker <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/29998\">Tom Egel<\/a>.\r\n   <\/p>\r\n   <p>Continuing in the spirit of my previous <a href=\"https:\/\/blogs.mathworks.com\/pick\/2010\/02\/26\/synchronizing-a-matlab-gui-and-a-simulink-model\/\">pick<\/a>, I would like to highlight another useful Simulink utility for those of you doing physical modeling using our <a href=\"https:\/\/www.mathworks.com\/products\/simscape\/\">Simscape&#8482;<\/a> product family. These tools allow you to model physical systems at a component level, rather than from equations. It's very\r\n      useful when your system starts to get very complicated, like an airplane or a car (yes, our customers use our tools to model\r\n      whole aircrafts.) Those of you who have worked with physical systems can appreciate the fact that you can take measurements\r\n      just by placing probes and sensors. Well, you can do that with a simulation model as well. To do that in Simscape, you place\r\n      an appropriate sensor component, convert physical signals to Simulink signals, and measure.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/ss_probe01.png\"> <\/p>\r\n   <p>It's pretty straight-forward once you understand the process, but with Tom's utility, sensing will now become second nature.<\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/ss_probe02.png\"> <\/p>\r\n   <p>In addition to what you see above, he has created a slew of probes for various domains, a utility to group probe signals,\r\n      and a help file.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/ss_probe03.png\"> <\/p>\r\n   <p><b>Comments<\/b><\/p>\r\n   <p>Give this a try and <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2542#respond\">tell us<\/a> what you think, or leave a comment for Tom on the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/17969-simscape-probes\">submission page<\/a>.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_f20f762b16d14959a709ce35ae8bc414() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='f20f762b16d14959a709ce35ae8bc414 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' f20f762b16d14959a709ce35ae8bc414';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Jiro Doke';\r\n        copyright = 'Copyright 2010 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_f20f762b16d14959a709ce35ae8bc414()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.9<br><\/p>\r\n<\/div>\r\n<!--\r\nf20f762b16d14959a709ce35ae8bc414 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\r\n% Jiro>'s pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/17969-simscape-probes\r\n% Simscape Probes> by our fellow MathWorker\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/29998\r\n% Tom Egel>.\r\n%\r\n% Continuing in the spirit of my previous \r\n% <https:\/\/blogs.mathworks.com\/pick\/2010\/02\/26\/synchronizing-a-matlab-gui-and-a-simulink-model\/\r\n% pick>, I would like to highlight another useful Simulink utility for\r\n% those of you doing physical modeling using our \r\n% <https:\/\/www.mathworks.com\/products\/simscape\/ Simscape\u00e2\u201e\u00a2> product family.\r\n% These tools allow you to model physical systems at a component level,\r\n% rather than from equations. It's very useful when your system starts to\r\n% get very complicated, like an airplane or a car (yes, our customers use\r\n% our tools to model whole aircrafts.) Those of you who have worked with\r\n% physical systems can appreciate the fact that you can take measurements\r\n% just by placing probes and sensors. Well, you can do that with a\r\n% simulation model as well. To do that in Simscape, you place an\r\n% appropriate sensor component, convert physical signals to Simulink\r\n% signals, and measure.\r\n%\r\n% <<ss_probe01.png>>\r\n%\r\n% It's pretty straight-forward once you understand the process, but with\r\n% Tom's utility, sensing will now become second nature.\r\n%\r\n% <<ss_probe02.png>>\r\n%\r\n% In addition to what you see above, he has created a slew of probes for\r\n% various domains, a utility to group probe signals, and a help file. \r\n% \r\n% <<ss_probe03.png>>\r\n%\r\n% *Comments*\r\n%\r\n% Give this a try and <https:\/\/blogs.mathworks.com\/pick\/?p=2542#respond tell\r\n% us> what you think, or leave a comment for Tom on the  \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/17969-simscape-probes\r\n% submission page>.\r\n##### SOURCE END ##### f20f762b16d14959a709ce35ae8bc414\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   Jiro's pick this week is Simscape Probes by our fellow MathWorker Tom Egel.\r\n   \r\n   Continuing in the spirit of my previous pick, I would like to highlight another useful Simulink utility for... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/12\/simscape-sensing-made-easy\/\">read more >><\/a><\/p>","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,24],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2542"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2542"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2542\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}