APP file was not included in the standalone executable

1 Ansicht (letzte 30 Tage)
Xuejie Wu
Xuejie Wu am 8 Aug. 2022
Kommentiert: Steven Lord am 8 Aug. 2022
Hi support:
I have generated .net share library for loading .mldatx to the target machine, but when excute the load(apppath),the .net tell me "Cannot load 'slrt_ex_pendulum_100Hz' on target 'TargetPC1': Cannot install 'slrt_ex_pendulum_100Hz' on target 'TargetPC1': Real-time application 'slrt_ex_pendulum_100Hz.mldatx' was not included in the standalone executable."
Error in => loadApi.m at line 7."
and then I put the 'slrt_ex_pendulum_100Hz.mldatx' into the ctf folder(standalone executable), and .net program is ok, so there is a problem:
the apppath of ‘ load(apppath)’ is absolute path ,why the mcr still can't find the 'slrt_ex_pendulum_100Hz.mldatx',
it seems that the external file that will be transmit in to the ctf file must be put into the in to the ctf folder(standalone executable) ,but the apppath is often changed,and can't be put into the ctf folder.
so do you have any better idea to solve the problem?
  1 Kommentar
Steven Lord
Steven Lord am 8 Aug. 2022
What product or products are you using to try to create this standalone application? Are you using MATLAB Compiler, MATLAB Coder, Embedded Coder, Simulink Coder, and/or some other products listed in the Code Generation and/or Application Deployment sections on this webpage?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Multicore Processor Targets finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by