Info

This question is closed. Reopen it to edit or answer.

Executable won't run after compilation with R2019b

1 view (last 30 days)
Fada
Fada on 24 Sep 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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 ****'

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!