MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel de service Page 84

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 282
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 83
3
Writing Target Language Files
3-10
inside the library file, it should start with Fcn and the function should be
placed at the bottom of
funclib.tlc.
%%
%% Global TLC Functions (start with Lib)
%%
%function LibGlobalTLCFunction(...)
%%
%% Local TLC Functions (start with Fcn)
%%
%function FcnLocalTLCFunction(...)
5
Functions declared inside a block.tlc file start with Fcn. For example,
%function FcnMyBlockFunc(...)
Note: Functions declared inside a system file are global; functions declared
inside a block file are local.
6
Do not hard code the variables defined in mdlwide.tlc. All RTW global
variables start with
rt and all RTW global functions start with rt_.
Avoid naming global variables in your run-time interface modules that start
with
rt or rt_ since they may conflict with RTW global variables and
functions. These TLC variables are declared in
mdlwide.tlc.
Vue de la page 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 281 282

Commentaires sur ces manuels

Pas de commentaire