MATLAB to Python Library Compiler Issue

1 Ansicht (letzte 30 Tage)
Ben Thiesing
Ben Thiesing am 15 Mär. 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

Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by