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?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2017년 11월 15일

0 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

제품

릴리스

R2017b

태그

Community Treasure Hunt

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

Start Hunting!

Translated by