Does Mlabwrap support Matlab R2018a
Posted: Thu Apr 19, 2018 10:28 pm
Hi,
I'm trying to use Malbwrap to call matlab function. Actually, I installed mlab on our server, which is newer than malbwrap.
Here is a link to the mlab project:
https://github.com/ewiger/mlab/blob/master/README.rst
However, I'm getting error:
Going into mlab's source code, in matlabcom.py, I found this:
So, seems like mlab doesn't work with matlab R2018a.
What do you guys think? Is it because I didn't setup malb correctly? Or do I need to switch to an older version of Matlab?
Hang
I'm trying to use Malbwrap to call matlab function. Actually, I installed mlab on our server, which is newer than malbwrap.
Here is a link to the mlab project:
https://github.com/ewiger/mlab/blob/master/README.rst
However, I'm getting error:
- Code: Select all
Traceback (most recent call last):
File "./script", line 4, in <module>
from mlab.releases import R2018a as matlab
File "/usr/local/lib/python2.7/dist-packages/mlab/releases.py", line 125, in __getattr__
return self.instances[name]
File "/usr/local/lib/python2.7/dist-packages/mlab/releases.py", line 80, in __getitem__
raise ImportError('Import failed, no MATLAB instance selected. Try import mlab.latest_release')
ImportError: Import failed, no MATLAB instance selected. Try import mlab.latest_release
Going into mlab's source code, in matlabcom.py, I found this:
- Code: Select all
def find_available_releases():
# report we have all versions
return [('R%d%s' % (y,v), '')
for y in range(2006,2015) for v in ('a','b')]
So, seems like mlab doesn't work with matlab R2018a.
What do you guys think? Is it because I didn't setup malb correctly? Or do I need to switch to an older version of Matlab?
Hang