Why does generating code for Intel x86-64 Linux targets include Windows header functions in code generated by Embedded Coder with MATLAB R2022b?
이전 댓글 표시
I am trying to generate code for a Linux target from a Windows machine using Embedded Coder in MATLAB R2022b.
I have a model that is configured to execute concurrently on multiple Intel x86-64 Linux cores. Hence, performing code generation from those models generates codes containing Mutex locks and semaphores. The issue arises that all the functions used to implement the locks and semaphores uses windows functions as contained in "rtw_windows.h".
However, since my end goal is to deploy it to a Linux target, I need to be able to replace these functions with their POSIX counterparts so that I can build them on Linux targets.
How can I achieve this workflow?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!