Hi,

Are you using the R2011a release from Sourceforge? If so, there are a few steps that need to happen to enable Matlab integration:

First, the Matlab plugin comes disabled by default. In your GMAT installation directory, inside the bin folder, there's a file called

`gmat_startup_file.txt`

. Uncomment this line by removing the

`#`

symbol:

- Code: Select all
`PLUGIN = ../plugins/libMatlabInterface`

(You can also uncomment the

`libFminconOptimizer`

line if you have the Optimization Toolbox installed.)

That should at least get you to see "Matlab" and "Matlab Server" entries in the Resource Tree.

Next, you'll need to set up Matlab in your system path:

- Edit your system path by going to Control Panel > System and Security > System > Advanced system settings. Then click the Environment Variables... button and highlight the Path variable in the bottom section of the window. Click "Edit..."
- You'll need to find the parts of the Path that relate to the version of Matlab you want to use and move them to the beginning (remembering to separate them with semicolons). Then add a new variable, also to the beginning:
`<Matlab path>\bin\win32`

, where `<Matlab path>`

is the path to your Matlab installation. - If the version of Matlab you want to use isn't the latest that was installed, you'll need to run
`matlab -regserver`

as an administrator.

Phew! Let me know if there is any confusion about this. At least you only need to do it once!