import Simulink code into code composer studio

4 visualizzazioni (ultimi 30 giorni)
Gaston Melo
Gaston Melo il 14 Mag 2020
I to all, I have a simulink model with an S-Function Builder (include header files and some code). I was able to generate the C dode using Simulink coder (it generate the wrapper.c - tlc - c files).
What I want now is to import this file into CCS but when I tried to compile using CCS i got the error shown bellow. How can I solve this?:
#error directive: Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE .ccsproject /Matlab_simulink_project line 316, external location: /home/gaston/.local/MATLAB/R2020a/simulink/include/simstruc_compcond.h C/C++ Problem

Risposte (0)

Categorie

Scopri di più su System Composer in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by