Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Executable won't run after compilation with R2019b

조회 수: 1 (최근 30일)
Fada
Fada 2020년 9월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
The .m file could run with no issues.
then using mcc -m myfile.m to compile, no error showed.
Execute the generated .exe file, got an "Unrecognized function or variable 'notify".
This variable is defined as
notify = char(t_data.value(6));
and the indicated section of the code shown as below. is this related to some option for compilation?
% Unspecified (system) error:
msg_text = ['Curve Fitting Execution Failed on: ', datestr(datetime('now','format', 'yyyy-MM-dd HH:mm:ss')),newline,char(13)];
if string(errormsgID) == ""
msg_text = [msg_text, SysErr.message];
MultipleRecipients = strsplit(notify,';');
sendIntMail(MultipleRecipients,'Curve Fitting Execution Error - System Generated Error.',string(msg_text));
'**** Execution aborted ****'

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by