Info
This question is closed. Reopen it to edit or answer.
Executable won't run after compilation with R2019b
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!