How to build a shared object (.so) from Windows Matlab/Simulink?

조회 수: 39 (최근 30일)
Alex
Alex 2023년 10월 19일
댓글: Thái 2024년 12월 19일
I have a clear goal and clear limitations. I need to produce a shared object (.so) file that will run on the NI Labview Linux RTOS from a Simulink model created on a Windows Matlab installation. I understand this will require cross-compilation.
I am aware that NI has a suggested workflow (NI Linux Real-Time Documentation and Tutorials — nilrt-docs 1.0 documentation) however I cannot use this method due to IT restrictions on installations needed in that workflow. I am aware that Matlab has a Linux version that would produce shared objects but our IT has failed to get a Linux Matlab to work.
I am at a loss as to what can be done to achieve this goal. How can I produce a shared object for Linux from my Windows Simulink model?

채택된 답변

Henry
Henry 2023년 10월 20일
Hi, Alex
This article might be helpful.
You can try this, then in step 4, instead compiling for binary, you can try to create a object file and convert that into shared lib on linux.
  댓글 수: 3
Alex
Alex 2023년 10월 25일
Thank you for the response! I'll look these over and see what I can manage.
Thái
Thái 2024년 12월 19일
Can u update the link because I have Embedded Coder and wana generate file .so in Windows from Matlab.
Thank in advance.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by