필터 지우기
필터 지우기

MATLAB to Python Library Compiler Issue

조회 수: 1 (최근 30일)
Ben Thiesing
Ben Thiesing 2018년 3월 15일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by