Difference between revisions of "2017 Winter Project Week/Improve Matlab integration"
From NAMIC Wiki
Line 35: | Line 35: | ||
** run your matlab code from slicer | ** run your matlab code from slicer | ||
** stop matlab commander server on Matlab | ** stop matlab commander server on Matlab | ||
− | ** call global on variables defined in Slicer within Matlab to see them appear in your workspace and be able to | + | ** call global on variables defined in Slicer within Matlab to see them appear in your workspace and be able to use them in matlab's command window. |
* A way to automatize the above would be to: | * A way to automatize the above would be to: | ||
− | ** run | + | ** run matlab environment from Slicer |
** have a button in Slicer to Stop/Start the server in matlab environment | ** have a button in Slicer to Stop/Start the server in matlab environment | ||
** when the server is stopped, run `whos global` to get a list of variables and `global variablename` to display them in the workspace automatically | ** when the server is stopped, run `whos global` to get a list of variables and `global variablename` to display them in the workspace automatically |
Latest revision as of 16:23, 13 January 2017
Home < 2017 Winter Project Week < Improve Matlab integrationKey Investigators
- Alexis Girault (Kitware, Inc.)
Project Description
Objective | Approach and Plan | Progress and Next Steps |
---|---|---|
|
|
|
Background and References
- MatlabBridge : https://www.slicer.org/wiki/Documentation/Nightly/Extensions/MatlabBridge
- ctkConsole : http://www.commontk.org/docs/html/classctkConsole.html
- Matlab commandwindow : https://www.mathworks.com/help/matlab/ref/commandwindow.html
- Matlab workspace : https://www.mathworks.com/help/matlab/ref/workspace.html