CONVERTING MATLAB SIMULINK MODEL INTO Programming

조회 수: 4(최근 30일)
Khalid Javed
Khalid Javed 2021년 2월 1일
편집: Khalid Javed 2021년 2월 11일
Is there any tools which can be used to convert Simulations from Matlab in to the programming (C or C++)?

답변(2개)

J Chen
J Chen 2021년 2월 1일
Try the Simulink coder.
  댓글 수: 1
Khalid Javed
Khalid Javed 2021년 2월 1일
Thank @J Chen
Can you please guide me that I should install this simulink coder on my MATLAB or MATLAB should already have it?
Can I have the details please?

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


Brian McKay
Brian McKay 2021년 2월 1일
Go look at the C2000 support package from Embedded Coder; this is exactly what it does:https://www.mathworks.com/matlabcentral/fileexchange/43096-embedded-coder-support-package-for-texas-instruments-c2000-processors
  댓글 수: 2
Ridvan Keskin
Ridvan Keskin 2021년 2월 10일
hi khalid javed,
I have same problem and control of the IBC converter. How you solve C/C++ coder errors?
I have C2000 delfino f28335 experimental kit. When I use the ccc complier, it gives me the error below as:
INTERNAL ERROR: C:/PROGRA~3/MATLAB/SUPPOR~1/R2019b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 had an internal inconsistency and aborted while processing file C:/Users/rk/Google Drive/PhD/z_notes/T¦K-3/28335/den_1_ert_rtw/MW_c28xx_board.c This is caused by a defect in the TI C/C++ Compiler. TI Customer Support may be able to suggest a workaround to avoid this. Upgrading to the newest version of the compiler may fix this problem. Contact TI in the E2E support forums at http://e2e.ti.com under "Development Tools", "TI C/C++ Compiler". See the link titled "Submitting an issue". We need to see this ENTIRE error message and a complete, reproducible test case including ALL of the command-line options. gmake: *** [MW_c28xx_board.obj] Error 2 C:\Users\rk\Google Drive\PhD\z_notes\TİK-3\28335\den_1_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\rk\Google Drive\PhD\z_notes\TİK-3\28335\den_1_ert_rtw>exit 1 Error(s) encountered while building "den_1": ### Failed to generate all binary outputs.
How can ı solve this problem, I investigeta the Texas inst. cite and similar problems but ı can not solve this problem,
Please help me about issue

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

Community Treasure Hunt

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

Start Hunting!

Translated by