after compile, .m no longer available?

조회 수: 1 (최근 30일)
David Pesetsky
David Pesetsky 2019년 2월 7일
I compiled code using mcc and also the deploytool. It needs to pull functions in from the Path variable, which is set during compile. It does compile, but when running, still complains some .m file is not found in the temporary "expanded CTF archive". Then says:
"This is typically caused by calls to ADDPATH in your startup.m or matlabrc.m files. Please see the
compiler documentation and use the ISDEPLOYED function to ensure ADDPATH commands are not executed
by deployed applications."
And then says:
Caused by:
Previously accessible file ".....m" is now inaccessible.
I think i just need to train it to pull ALL the right functions in when compiling?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by