Beantwortet
MATLAB <-> Python problem with import of lxml
It looks like you have two problems: # the class |matlab.exception.PyException| isn't found # import of lxml This answer ...

mehr als 10 Jahre vor | 0

Beantwortet
Matlab R2015a crashes when importing/using external libraries
For problem 2, what windowing system is your OpenGL script using? Is it GLUT? I have a feeling that closing the window is termin...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
ERROR: Python in Simulink: Class mismatch for variable 'commandOut'. Expected 'double', Actual 'char'.
|commandOut| , the second output argument from |system| , is a char array. See the <http://www.mathworks.com/help/matlab/ref/sys...

fast 11 Jahre vor | 1

Beantwortet
calling matlab functions from python
My first guess would be that you are looking in the extern folder from an older version of MATLAB. What value did you use for ma...

fast 11 Jahre vor | 0

Beantwortet
2014b-64bit python from within matlab, problem with threading
MATLAB is holding Python's thread lock (GIL) and not allowing your thread to run.

etwa 11 Jahre vor | 0

Beantwortet
python from 2014b matlab - debug challanges - where is python stdout, stderr?
|sys.stdout| should be redirected to the MATLAB command window. Do you see output with Python's print function? Example ...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
Calling python modules gives error
Richard, please try the following and let me know if there are any errors: BiDiff = py.eval('__import__(''BiDiff'')', struc...

etwa 11 Jahre vor | 0

Beantwortet
Calling python modules gives error
Hi Richard, For the information you have given, there are two possible issues 1) module BiDiff is not imported or 2) functio...

etwa 11 Jahre vor | 0

Beantwortet
Malab Python problem -- isloaded set to 0
The output from "pyversion" looks reasonable. You don't need to explicitly load Python. It will load when it is needed, which is...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
Undefined function or variable 'pyversion´
Which version of MATLAB are you using? pyversion is available only in R2014b. You can verify the version with the version functi...

mehr als 11 Jahre vor | 1

| akzeptiert

Beantwortet
"Unsupported datatype returned from MATLAB" with use of MATLAB Engine for Python
Does your function mainf return a sparse matrix? The documentation lists sparse array in unsupported MATLAB types: http://ww...

mehr als 11 Jahre vor | 0

| akzeptiert