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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Pablo Romero
Pablo Romero el 20 de Dic. de 2018

1 voto

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

Más respuestas (0)

Categorías

Más información sobre Real-Time Simulation and Testing en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 28 de Sept. de 2018

Respondida:

el 20 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by