-
Notifications
You must be signed in to change notification settings - Fork 1
GettingStarted
MiWalk edited this page Oct 4, 2016
·
1 revision
- Close this repo or download
- Place on your MATLAB path
- Ensure Origin is installed.
- Start Plotting!
This line creates an M2OPlot object, effectivly linking MATLAB to Origin. If Origin is already running then it connects to the existing instance. If not it will start Origin.
M2O = M2OPlot();
You can also create the code with an existing project. In this case that project will be opened. Note if Origin is already running then any unsaved work in a different project will be lost.
M2O = M2OPlot('C:\<DIR>\YOUR_PROJECT.OPJ');
Once you have finished plotting you should disconnect. This breaks the connection between MATLAB and Origin.
M2O.Disconnect;