Why do I get a DEPFUN error when compiling code that has IMPORTDATA function using MATLAB Compiler 4.18 (R2013a)?
조회 수: 9 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2013년 6월 28일
편집: MathWorks Support Team
2020년 11월 5일
I have MATLAB code that uses the IMPORTDATA function to read in files. When I try to deploy this code, using either MCC or DEPLOYTOOL, with any of the MATLAB Compiler or Builder products, I get the following error:
%
ERROR: Depfun error 'unexpected standard exception from mex file.
What() is
..'
Error using mcc
Error executing mcc, return status = 1 (0x1).
This issue occurs only on certain Linux machines, and if I have the IMPORTDATA function present in my code.
채택된 답변
MathWorks Support Team
2020년 11월 12일
편집: MathWorks Support Team
2020년 11월 5일
This is a bug in MATLAB Compiler 4.18 (R2013a).
To workaround this issue, use alternative functions for reading in data such as LOAD, TEXTSCAN or DLMREAD.
To get more details on the alternative methods, see:
For general data importing and exporting guidelines and available alternatives, see:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!