我试图用pymatlab从python调用matlab。
我的env是python 2.7 32bit,pymatlab 0.2.3,matlab 2010b 32bit和windows7 64bit。
但是,我仍然无法从matlab会话中获得价值:
matlab_session.run('ccc = [1.0,2.0]')
matlab_session.getvalue('ccc')
返回错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Anaconda2\lib\site-packages\pymatlab\matlab.py", line 91, in getvalue
ndims = self.mx.mxGetNumberOfDimensions(mx)
WindowsError: exception: access violation reading 0x00000010