-
Notifications
You must be signed in to change notification settings - Fork 1
/
ert_mac.tlc
executable file
·54 lines (42 loc) · 1.53 KB
/
ert_mac.tlc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%% SYSTLC: Mac Embedded Coder TMF: ert_mac.tmf MAKE: make_rtw \
%% EXTMODE: ext_comm
%%
%% Copyright 1994-2011 The MathWorks, Inc.
%% Copyright 2013 Constantin Wiesener <wiesener@control.tu-berlin.de>
%% Abstract: Embedded real-time system target file for Linux OS.
%%
%selectfile NULL_FILE
%assign CodeFormat = "Embedded-C"
%assign TargetType = "RT"
%assign Language = "C"
%if !EXISTS("AutoBuildProcedure")
%assign AutoBuildProcedure = !GenerateSampleERTMain
%endif
%assign RateBasedStepFcn = 1 /% Generate only rate-based step functions %/
%% The model_SetEventsForThisBaseRate function is not required for the
%% VxWorks environment, i.e., when using an operating system.
%assign SuppressSetEventsForThisBaseRateFcn = (TargetOS == "VxWorksExample")
%if !EXISTS("InlineSetEventsForThisBaseRateFcn")
%assign InlineSetEventsForThisBaseRateFcn = TLC_TRUE
%endif
%if !EXISTS("SuppressMultiTaskScheduler")
%assign SuppressMultiTaskScheduler = TLC_TRUE
%endif
%assign TargetRegistMutexOp = 1
%assign TargetRegistSynchroOp = 1
%if FEVAL("verLessThan", "matlab", "9.2")
%include "commontargetlib.tlc"
%endif
%include "codegenentry.tlc"
%include "ert_mac_genfiles.tlc"
/%
BEGIN_RTW_OPTIONS
rtwgensettings.DerivedFrom = 'ert.tlc';
%----------------------------------------%
% Configure code generation settings %
%----------------------------------------%
rtwgensettings.BuildDirSuffix = '_ert_mac';
rtwgensettings.Version = '1';
rtwgensettings.SelectCallback = 'ert_mac_select_callback_handler(hDlg, hSrc)';
END_RTW_OPTIONS
%/