demxyuanli / matlabcontrol

Automatically exported from code.google.com/p/matlabcontrol
0 stars 0 forks source link

Add support for OSGi ClassLoaders and Copy-Paste callbacks #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just wanted to contribute back some changes that I made:

https://github.com/diffplug/matlabcontrol

Added CopyPasteCallback to the set of options for creating a 
MatlabProxyFactory. The factory sends a chunk of code to the callback, and the 
user copy-pastes this code into a MATLAB terminal to initiate a connection.

ThrowableWrapper now initializes the getMessage() field with MATLAB's raw error 
text.

Added OSGiClassloaderFriendly to the set of factory options. When this flag is 
set to true, RMI is started in a way that doesn't get hosed by OSGi.

The CopyPasteCallback is very handy for implementing interactive applications 
such as this:

https://docs.diffplug.com/1.5.0/ViewerDiffers/SimulinkViewerDiffer/TrackInMatlab
/

Original issue reported on code.google.com by ned.tw...@diffplug.com on 16 Apr 2015 at 4:27