Difference between revisions of "MATLAB subdirectory help"

From FBSwiki
Jump to: navigation, search
(Created page with "Some of the MATLAB examples make use of subdirectories that contain multiple files used by that model. To execute these examples, you should do the following: * On your local...")
(No difference)

Revision as of 00:16, 28 October 2012

Some of the MATLAB examples make use of subdirectories that contain multiple files used by that model. To execute these examples, you should do the following:

  • On your local machine, create a directory (folder) with the given name (without the final slash). This directory must be in a location that can be found by MATLAB.
  • Click on the web page link to see a list of files; copy each of the files into the directory on your local machine
  • Install amrun.m in your MATLAB path. This function is used to add the model subdirectory to your MATLAB path.
  • Run the script that includes the model (it will call "AMuse('model') to include the model)