Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: Matlab integration #3

Closed
mfitzp opened this issue Feb 11, 2014 · 2 comments
Closed

Plugin: Matlab integration #3

mfitzp opened this issue Feb 11, 2014 · 2 comments

Comments

@mfitzp
Copy link
Owner

mfitzp commented Feb 11, 2014

Integrating with existing MATLAB tools would be a real bonus.

The simplest cross-platform method for integration would probably be using pymatlab-bridge but other method's are available.

Passing data into MATLAB and running a script/function (probably definable within the tool) might be the easy part. Implementing a useable interface for pulling apart Pathomx dataset objects and reassembling the results might be a bit more tricky! However, once an interface for this is worked out it can form the basis of other linkages (e.g. [R]).

@mfitzp
Copy link
Owner Author

mfitzp commented Feb 26, 2014

A base of this (and R support) has now been implemented. However, both the MATLAB and R interfaces are single-thread and blocking, so a centralised locking mechanism for this needs to be implemented. This in turn will require tools to have the ability to "wait" for a resource to become available to them before running. So making this work requires a bit of work on the threading/calculation back-end.

@mfitzp
Copy link
Owner Author

mfitzp commented Apr 13, 2014

Locking mechanism implemented so that multiple MATLAB tools play nicely together. Includes support for auto-restart of dead MATLAB interface. The Python to MATLAB interface (mlabwrap) needs a patch to support Student versions of MATLAB then the new version is ready for release.

@mfitzp mfitzp closed this as completed Apr 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant