Effacer les filtres
Effacer les filtres

MATLAB to Python Library Compiler Issue

1 vue (au cours des 30 derniers jours)
Ben Thiesing
Ben Thiesing le 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

Réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by