MATLAB subdirectory help
Revision as of 00:17, 28 October 2012 by Murray
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 amuse.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)