Connect to Linux PC running code using external mode

I have two Linux PCs connected via ethernet, one has MATLAB installed while the other doesn't. I have generated C code from a Simulink model. Now I want to use external mode to run the generated code on the other Linux machine. Is this possible? If yes, how?

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 15 de Nov. de 2017
Yes, it is possible. Here are the additional steps that you need to perform to enable communication between the two PCs through External mode:
1. Please go to the Interface section in the configuration parameters and choose "tcpip" as the "Transport layer" (the "External mode" checkbox should be enabled).
2. Now specify the required arguments in the "MEX-file arguments" box (<http://www.mathworks.com/help/rtw/ref/mex-file-arguments.html https://www.mathworks.com/help/rtw/ref/mex-file-arguments.html>).
3. Also, please make sure that the correct "Device vendor" and "Device type" has been set in the Hardware Implementation section of the configuration parameters.

Más respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by