MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual Page 84

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 281 282

Comments to this Manuals

No comments