- python
- matlab
https://groups.google.com/forum/#!forum/comp.soft-sys.matlab
- check get_nout() from oct2py:
https://github.com/blink1073/oct2py/blob/master/oct2py/utils.py
- check mlabwrap
The problem is that in MATLAB this conversion is implicit and writing e.g.
matlab.put(‘a’, 1) # <- here ‘a’ will be int
may lead to unexpected behaviors.
Could be activated via by a parameters:
matlab = matlab_wrapper.MatlabSession(auto_int_conversion=True)
- add `matlab._pid’ (use features(‘getpid’) in MATLAB, might not exist in older versions)
- check the standard library for the best kill/terminate functions
<2014-08-14 Thu>
MATLAB is unresponsive during execution of svd(). I did not find a way to reasonably kill the process (in destructor), because it hangs in the engClose().
m.workspace.svd(np.zeros((10000,10000)))
### Get MATLAB PID
try:
pid = self.workspace.feature('getpid')
self._pid = int(pid)
except RuntimeError:
self._pid = None
/bin/csh is required by libeng and the lack of it could be detected by matlab_wrapper.
<2014-09-29 Mon>