real-time standalone mode file transfer
Show older comments
I use matlab 2018a. The target is a mini-board with intel J9100 processor. With the standalone mode, the target starts correctly. But after I transfer the application file "*.mldatx" to target, the name of application file is modified automatically to force the extension of file name to be "*.mld", which can be executed by the real-time kernal and prompt "error unpacking application". I think it is caused by the incorrect extension of file name. How to make the real-time kernal to support long extension name?
5 Comments
Walter Roberson
on 28 Sep 2018
To confirm, you are doing something similar to
SimulinkRealTime.copyFileToTarget(tg,'ex_slrt_rt_osc.mldatx')
?
Pika
on 28 Sep 2018
Walter Roberson
on 28 Sep 2018
Edited: Walter Roberson
on 28 Sep 2018
According to https://www.mathworks.com/help/xpc/ug/file-systems.html, Simulink Real Time's filesystem uses DOS 8.3 filename structure and so cannot support file extensions of 6 characters.
The information I find about copyFileToTarget is at https://www.mathworks.com/help/xpc/gs/embedded-target-boot-method.html which describes communications with a Speedgoat computer. At the moment, I do not know if perhaps Speedgoat permits more than the 8.3 filename structure.
In other words, if your target is not a speedgoat system then you might be restricted to 8.3 names.
Pika
on 28 Sep 2018
Walter Roberson
on 28 Sep 2018
Sorry, I am going by documentation here; I do not have a system to test with.
Accepted Answer
More Answers (0)
Categories
Find more on Real-Time Simulation and Testing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!