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