real-time standalone mode file transfer

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

To confirm, you are doing something similar to
SimulinkRealTime.copyFileToTarget(tg,'ex_slrt_rt_osc.mldatx')
?
Yes. After doing this command, I see the target file using the file system of slrtexplr.
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.
If the extension of file name is restricted to 3 letters, I think real-time should generate application file name satisfying it. If I force the extension of file name to be 3, the real-time kernal can not run the application. I have bought a Speedgoat computer and I should try on it immediately. If there still exists this problem, I can only use Matlab 2016.
Sorry, I am going by documentation here; I do not have a system to test with.

Sign in to comment.

 Accepted Answer

This is a known bug. For more information refer to the bug report below:
Note that an upgrade to Speedgoat Library version 8.24.0.1 (or later) is required after installation of MATLAB R2018a Update 4.
Hope this helps.
Pablo

More Answers (0)

Categories

Find more on Real-Time Simulation and Testing in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 28 Sep 2018

Answered:

on 20 Dec 2018

Community Treasure Hunt

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

Start Hunting!