MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guia do Utilizador Página 181

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 575
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 180
Using Proc essor in the Loop
a From the model menu bar, go to Simulation > Conguration
Param ete rs in your mo del to open the Con guration Parameters dialog
box.
b Ch oose Real-Time Workshop from the Select tree. Set the
conguration parameters for your model as required by Embedded IDE
Link CC softw are. Get more information about setting the Real-Time
Workshop software parameters in “Setting Code Generation Parameters
for TI Processors” on page 3-48 in the online Help system.
c Under Target selection,settheSystem target le to
ccslink_ert.tlc (PIL requires Real-Time Workshop Embedded Coder
software).
5 Congure the model to perform PIL building and PIL block creation.
a Select Embedded IDE Link CC on the Select tree.
b On the Build actionlist, select
Create_processor_in_the_loop_project to enable PIL.
c From PIL block action
, select
Create_PIL_block_build_and_download from the list.
d Click OK to close the Conguration Parameters dialog box.
6 To create the PIL block, right-click the masked subsystem in your model
and select Real-Time Workshop > Build Subsystem from the context
menu.
A new model window o pens and the new PIL block appears in it.
This step builds the PIL algorithm o bject code and a PIL block that
corresponds to the subsystem, with the same inputs and outputs. Follow
the progress of the build process in the MATLAB command window.
7 Copy the new PIL block from the new model to your model, either in
parallel to your masked subsystem to cosimulate the processes, or replace
your subsystem with the PIL block.
To see the PIL block used in parallel to a masked subsystem, refer to the
demo Getting Started with Application Development in the demos for
EmbeddedIDELinkCCsoftware.
4-9
Vista de página 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 574 575

Comentários a estes Manuais

Sem comentários