Clear Filters
Clear Filters

MATLAB to Python Library Compiler Issue

1 view (last 30 days)
Ben Thiesing
Ben Thiesing on 15 Mar 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

Answers (0)

Community Treasure Hunt

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

Start Hunting!