Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Executable won't run after compilation with R2019b

3 visualizzazioni (ultimi 30 giorni)
Fada
Fada il 24 Set 2020
Chiuso: MATLAB Answer Bot il 20 Ago 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 ****'

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by