{"id":7402,"date":"2018-04-19T12:55:01","date_gmt":"2018-04-19T17:55:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/simulink\/?p=7402"},"modified":"2020-03-26T11:52:53","modified_gmt":"2020-03-26T16:52:53","slug":"matlab-online-matlab-mobile-matlab-drive-and-simulink","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2018\/04\/19\/matlab-online-matlab-mobile-matlab-drive-and-simulink\/","title":{"rendered":"MATLAB Online, MATLAB Mobile, MATLAB Drive&#8230; and Simulink"},"content":{"rendered":"<p>I have never written about these topics on this blog because this is not specific to Simulink, but... I am a big fan of <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online.html\">MATLAB Online<\/a> and <a href=\"https:\/\/www.mathworks.com\/products\/matlab-drive.html\">MATLAB Drive<\/a>. Today I will describe how I use these and highlight what you can do with them.<\/p>\n<p><strong>MATLAB Drive<\/strong><\/p>\n<p>In case you did not know: If you have a <a href=\"https:\/\/www.mathworks.com\/mwaccount\/\">MathWorks account<\/a>, you have access to <a href=\"https:\/\/www.mathworks.com\/products\/matlab-drive.html\">MATLAB Drive<\/a>!<\/p>\n<p>How do you access it? Let's begin with the method I use the most: <a href=\"https:\/\/www.mathworks.com\/products\/matlab-drive.html#matlab-drive-connector\">MATLAB Drive Connector<\/a>.<\/p>\n<p>You can install MATLAB Drive Connector from <a href=\"https:\/\/www.mathworks.com\/products\/matlab-drive.html#matlab-drive-connector\">this link<\/a>. Once this is done, you will see a MATLAB Drive Connector icon in the taskbar, and clicking on it will allow you, for example, to see file activity and quickly navigate to your MATLAB Drive folder.<\/p>\n<p><em>Note: I am using on Windows, but this is also available for Mac and Linux.<\/em><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MATLABDriveConfig.png\" alt=\"MATLAB Drive Configuration\" \/><\/p>\n<p>Another option is to access MATLAB Drive <a href=\"https:\/\/drive.matlab.com\/\">through a web browser<\/a>, where you will be able to upload and download files:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLDriveWeb.png\" alt=\"MATLAB Drive Webpage\" \/><\/p>\n<p>I recommend looking at <a href=\"https:\/\/www.mathworks.com\/help\/matlabdrive\/\">MATLAB Drive help<\/a> for more details.<\/p>\n<p><strong>MATLAB Online<\/strong><\/p>\n<p>Another feature that works in combination with MATLAB Drive is <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online.html\">MATLAB Online<\/a>, which is also included with most <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online.html#license-types\">license types<\/a>. With MATLAB Online, your \"working directory\" is MATLAB Drive.<\/p>\n<p>MATLAB Online offers limited support for Simulink. You cannot edit models, but you can simulate them as <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online\/limitations.html\">mentioned here<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLOnlineSim.png\" alt=\"MATLAB Onlinee\" \/><\/p>\n<p><strong>MATLAB Mobile<\/strong><\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/products\/matlab-mobile.html\">MATLAB Mobile<\/a> is another way to run MATLAB and simulate models. If you are not using it already, you can get it from <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.mathworks.matlabmobile\">Google Play<\/a> or <a href=\"https:\/\/itunes.apple.com\/us\/app\/matlab-mobile\/id370976661?mt=8\">Apple App Store<\/a> righ now.<\/p>\n<p>Here is a screenshot of my iPad simulating a model:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLAppSim.PNG\" alt=\"MATLAB Mobile\" \/><\/p>\n<p><strong>Advantages<\/strong><\/p>\n<p>One obvious advantage of simulating models using MATLAB Online or MATLAB Mobile is that the computation is done online. This keeps your computer CPU available to do something else.<\/p>\n<p>Another feature I really like is that your session is continuous. You can connect and disconnect interchangeably between MATLAB Online and MATLAB Mobile and the same session continues. This means I can start a simulation from MATLAB Online at work, disconnect and check on it later from MATLAB Mobile.<\/p>\n<p>The last thing I want to highlight is that you can publish a script as HTML or PDF and share the address with anybody, even if they do not have a MathWorks Account.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLOnlinePublished.png\" alt=\"Publishing using MATLAB Online\" \/><\/p>\n<p>You can see the results of my simulation above by visiting this link:<\/p>\n<p><a href=\"\"><\/a><\/p>\n<p>Here is what it looks like:<\/p>\n<p><p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLPublishResult.png\" alt=\"Published Result using MATLAB Online\" \/><\/p>\n<\/p>\n<p><strong>Now it's your turn<\/strong><\/p>\n<p>Are you using MATLAB Online, MATLAB Mobile or MATLAB Drive? Let us know how in the comment below.<\/p>\n<p>One final thought... If you enjoy running simulations online instead of on your computer, I also recommend looking into the options for <a href=\"https:\/\/www.mathworks.com\/products\/parallel-computing\/parallel-computing-on-the-cloud.html\">Parallel Computing on the Cloud<\/a>. This will allow you to scale up and run tons of simulations in the cloud at the same time.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/simulink\/2018Q1\/MLPublishResult.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>I have never written about these topics on this blog because this is not specific to Simulink, but... I am a big fan of MATLAB Online and MATLAB Drive. Today I will describe how I use these and... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2018\/04\/19\/matlab-online-matlab-mobile-matlab-drive-and-simulink\/\">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":[595,143,10,16],"tags":[532,528,530,526],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7402"}],"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=7402"}],"version-history":[{"count":19,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7402\/revisions"}],"predecessor-version":[{"id":7442,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/7402\/revisions\/7442"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=7402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=7402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=7402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}