Easy way to save Python session as Matlab files

Matlab users frequently save their results to a .mat file that can be opened in another Matlab session for further processing. Using Spyder (available in either WinPython or Anaconda Python distributions), you can do the same.

  1. Run your Python script and generate the variables.
  2. Go to variable explorer.
  3. Click the save button and choose Save As Matlab file.
  4. You can open this file in Matlab. Happiness!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s