Matlab tips: Transferring Simulink Scope data to Matlab Workspace

In Matlab, you can transfer your Simulink scope data to the Matlab Workpace.

This post shows how to transfer the output graph of a scope to Workspace in such a way that you can avoid unnecessary usage of ink and make more analysis on your Matlab Simulink simulation.

First of all, double click the scope in your Simulink then select "Data history".

In this section: 

  Firstly, check the "Save data to workspace" box
      Then, enter your desired variable name
          After that, change its format to "Array" as shown in diagram below.


Next, go back your main page or Workspace,  
            then select your variable  
                and click the graph icon as illustrated in the picture below.


Finally, your result will be pop-out after few second. Good luck and have a nice day^^.

That's all for today. More fascinating articles and sharing will be updated from time to time in Xaivier Blog. Therefore, do subscribe our feed, look at our sitemap or simply visit our Homepage.

Written by: Xaivier Chia

First edited at 29th Jan 2011 - Reason: To make it more reader-friendly.
Get paid To Promote at any Location