APP file was not included in the standalone executable
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Steven Lord
2022-8-8
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!