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 commentaires

To confirm, you are doing something similar to
SimulinkRealTime.copyFileToTarget(tg,'ex_slrt_rt_osc.mldatx')
?
Pika
Pika le 28 Sep 2018
Yes. After doing this command, I see the target file using the file system of slrtexplr.
Walter Roberson
Walter Roberson le 28 Sep 2018
Modifié(e) : Walter Roberson le 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
Pika le 28 Sep 2018
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.
Walter Roberson
Walter Roberson le 28 Sep 2018
Sorry, I am going by documentation here; I do not have a system to test with.

Connectez-vous pour commenter.

 Réponse acceptée

Pablo Romero
Pablo Romero le 20 Déc 2018

1 vote

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

Plus de réponses (0)

Catégories

En savoir plus sur Real-Time Simulation and Testing dans Centre d'aide et File Exchange

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by