How do I compile the C-code generated from the Real-Time Workshop in MS Developer Studio?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
How do I compile the C-code generated from the Real-Time Workshop in MS Developer Studio?
Risposta accettata
MathWorks Support Team
il 14 Set 2010
In order to compile the C-code generated from the Real-Time Workshop in MS Developer Studio, please use the following instructions:
1) Change the template makefile for the build from 'grt_default_tmf' to 'grt_msvc.tmf'. To do so, choose Configuration parameters from the Simulation menu. Then, Click on the Real-Time Workshop tab and change the template makefile defined there within.
This will create a model.mak file that is suited for the MS Developer Studio.
2) Bring up the MS Developer and load the workspace. Since the .mak file is originally for MSVC 4.2, when you load the workspace, you may receive a couple of warning messages. Just click "OK" to these messages.
3) Go to 'Set Active Configuration' within the 'Build' tab and select debug.
4) Build the executable file.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!