필터 지우기
필터 지우기

Generation of Platform (hardware) independent code

조회 수: 3 (최근 30일)
Rodrigo Estrella
Rodrigo Estrella 2024년 1월 2일
답변: Maven Euler 2024년 1월 2일
Does anyone has experience generating platform independent code from simulink models?
We have the idea to generate one set of code from the models that is capable of runing on different hardware.

답변 (1개)

Maven Euler
Maven Euler 2024년 1월 2일
To generate platform-independent code from Simulink models, you can use the code generation features provided by MATLAB and Simulink. The generated code can be ANSI-C code, which is platform-independent and can be compiled on different operating systems and hardware. In the Configuration Parameters dialog, under the Code Generation section for platform-independent ANSI-C code, you can choose grt.tlc (Generic Real-Time Target).
Thanks,
Ayush

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by