Borrar filtros
Borrar filtros

MATLAB to Python Library Compiler Issue

1 visualización (últimos 30 días)
Ben Thiesing
Ben Thiesing el 15 de Mzo. de 2018
Hello,
I am using MATLAB Library Compiler to convert MATLAB functions to Python. It worked for the simple triarea function. However, when I try the first part of the actual function I want to convert in Python I get the following message:
< matlab_pysdk.runtime.deployablefunc.DeployableFunc object at 0x00000000056E2F98 >
I think that the problem comes from trying to import the csv file. I tried using fopen as well, and it didn't work after conversion either. I have installed MATLAB Runtime version 9.2.
Thank you in advance, Ben
function b = datainput4
X = importdata('C:\Users\bpt6\Desktop\OxideThicknessTest2\Line.csv');
[m,n]=size(X);
xvalues=X(:,1);
yvalues=X(:,2);
Width = max(xvalues)
end

Respuestas (0)

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by