필터 지우기
필터 지우기

I keep getting this error only in executable mode: undefined function or method 'edit' for input arguments of type 'char'

조회 수: 1 (최근 30일)
For some reason I keep getting the following error only when I am running my program in a .exe format: undefined function or method 'edit' for input arguments of type 'char'. It happens when the command 'open' is done on a .m file. I have never had this problem in the past, any ideas?

답변 (1개)

Walter Roberson
Walter Roberson 2013년 4월 15일
If a variable was named, it would attempt to open the variable in the workspace viewer (which does not exist in a compiled executable.) Otherwise if it determines that the name corresponds to a .m file in the MATLAB path, it would attempt to open the variable in the MATLAB editor, but that does not exist in a compiled executable.
If you are attempting to fire up a non compiled version of MATLAB to edit the .m then you cannot do it using open() and instead need to use winopen() or system()

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by