Which files exactly i need to use for my project from the files generated by AUTOCODE??

조회 수: 3 (최근 30일)
I Gnerated a autocode for one simulink model and its an the .zip file. When i unpacked the zip file more files are there inside a unpacked folder.
FYI: html folder
buildinfo.mat
defines.txt
rtw_types.h
ert_main.c
SOC_Main.h
SOC_Main.c
SOC_Main_private.h
SOC_Main_types.h
I Need to use the generated code to another IDE not in MATLAB environment. Please suggest me out of these files which files i need to pick to include in my project.
Can I pick only .c and .h file to include in my project in another IDE??

답변 (2개)

Qiancheng Zhou
Qiancheng Zhou 2020년 2월 3일
편집: Qiancheng Zhou 2020년 2월 3일
Add all the .c and .h files, except ert_mian.c, to your project in other IDE.

Sivakumar Selvam
Sivakumar Selvam 2020년 2월 4일
Create a new project in that IDE, include all the ".c" and ".h" files in your project except ert_main.c. Instead of ert_main.c, created your own main file and execute the code as per your application requirements.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by