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 ExchangeMulticore Processor Targets についてさらに検索

製品

リリース

R2017b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by