Borrar filtros
Borrar filtros

How can I set up my MATLAB application to start automatically on a target machine in stand-alone mode?

39 visualizaciones (últimos 30 días)
Hi,
I uploaded my program as a real-time application on a target machine (Speedgoat baseline) via MATLAB. Then, I used PuTTY to send commands to load, start, and stop the process. My question is: how can I change the settings so that the target machine starts a specific application when it is powered on and stops it when it is turned off without any command? Is this possible?

Respuesta aceptada

Vandit
Vandit el 15 de Jul. de 2024 a las 7:10
Hi Reza,
With Simulink Real-Time Explorer, you can configure a startup application that runs each time you start the target computer. Follow these steps to configure a startup real-time application:
  1. Open Simulink Real-Time Explorer.
  2. In the Targets Tree panel, select target computer 'TargetPC1'.
  3. To load a real-time application on the target computer, click the Load Application button.
  4. After you load the application, select the application from the Applications on target computer list and select the Startup App check.box. The next time the target computer starts or reboots, the application runs on startup.
For more information, please refer to the following documentation link:
Hope this helps.
  1 comentario
Reza
Reza el 15 de Jul. de 2024 a las 18:06
Editada: Reza el 15 de Jul. de 2024 a las 18:13
Hi Vandit,
Thank you so much for your help. It worked as you mentioned.
Now, the recorded file in the Log File block cannot be accessed if the Speedgoat has been turned off once before connecting to MATLAB. In other words, the Speedgoat should be connected to the host PC before turning off to be able to deliver the recorded data in SLRT Explorer.
Is there any way to solve this issue? I mean, can I attach a USB flash drive to keep the recording data for later extraction?

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by