Many
Manuals
search
Categorie
Marchi
Home
MATLAB
Software
REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER
Manuale di Servizio
MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 274
Scaricare
Condividere
Condivisione
Aggiungi ai miei manuali
Stampa
Pagina
/
282
Indice
SEGNALIBRI
Valutato
.
/ 5. Basato su
recensioni clienti
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
C
Target
Lan
guage Compiler Library Er
ror Messages
C-12
1
2
...
269
270
271
272
273
274
275
276
277
278
279
280
281
282
SIMULINK
1
How to Contact The MathWorks:
2
Contents
3
Introduction
10
Real-Time Workshop
12
Target Language Compiler
12
A Basic Example
13
System Target Files
18
Block Target Files
19
Where to Go from Here
20
Working with the
21
Target Language
21
The model.rtw File
23
Compiler Directives
26
Conditional inclusion
27
Multiple inclusion
27
Object-oriented
27
Comments
28
Line Continuation
29
Target Language Values
30
Target Language Expressions
33
Formatting
37
Conditional Inclusion
38
%foreach
39
Output File Control
47
Input File Control
48
Built-In Functions and Values
49
FEVAL Function
55
Macro Definition
57
Identifier Definition
57
Creating Records
59
Variable Scoping
62
Target Language Functions
64
Filenames and Search Paths
71
Target Language Debug Mode
71
Writing Target
75
Language Files
75
Block Functions
81
Coding Conventions
82
Writing a Block Target File
89
BlockTypeSetup(block, system)
90
Enable(block, system)
91
Disable(block, system)
91
Start(block, system)
92
Outputs(block, system)
92
Update(block, system)
93
Derivatives(block, system)
93
Terminate(block, system)
93
LibCacheDefine(buffer)
96
LibIsDiscrete(tid)
96
Writing Target Language Files
100
The RTW TLC Function Library
101
STRINGOF(value)
104
EXISTS("name")
104
SIZE(value, n)
104
Inlining an S-Function
105
An Example
106
Unnecessary call to
108
in foogain.c
108
Configurable RTW Variables
114
Matrix Parameters in RTW
115
Loop Rolling
118
Function Library Reference
123
LibBlockFunctionExists
124
LibBlockInputSignal
125
LibBlockIWork
126
LibBlockMatrixParameterAddr
127
LibBlockMatrixParameter
128
LibBlockMode
129
LibBlockOutportLocation
130
LibBlockOutputSignal
132
LibBlockParameter
133
LibBlockParameterAddr
135
LibBlockPWork
136
LibBlockRWork
137
LibBlockSrcSignalIsDiscrete
138
LibCacheDefine
139
LibCacheFunctionPrototype
140
LibCacheGlobalPrmData
141
LibCacheInclude
142
LibCacheNonFiniteAssignment
143
LibContinuousState
144
LibControlPortInputSignal
145
LibConvertZCDirection
146
Arguments
146
Description
146
LibDataInputPortWidth
147
LibDataOutputPortWidth
148
LibDataStoreMemory
149
LibDeclareRollVariables
150
See Also
151
LibDefineIWork
152
LibDefinePWork
153
LibDefineRWork
154
into block states
155
LibExternalResetSignal
156
LibHeaderFileCustomCode
157
LibIndexStruct
158
LibIsDiscrete
159
LibIsEmpty
160
LibIsEqual
161
LibIsFinite
162
LibMapSignalSource
163
LibMaxBlockIOWidth
164
LibMaxDataInputPortWidth
165
LibMaxDataOutputPortWidth
166
LibMdlRegCustomCode
167
LibMdlStartCustomCode
168
LibMdlTerminateCustomCode
169
LibOptionalMatrixWidth
170
LibOptionalVectorWidth
171
LibPathName
172
LibPrevZCState
173
LibPrmFileCustomCode
174
LibRegFileCustomCode
175
LibRenameParameter
176
LibSourceFileCustomCode
177
LibSystemDerivativeCustomCode
178
LibSystemDisableCustomCode
179
LibSystemEnableCustomCode
180
LibSystemInitializeCustomCode
181
LibSystemOutputCustomCode
182
LibSystemUpdateCustomCode
183
Model.rtw File Contents
186
SampleTime {
189
]. Only written if
193
Parameter {
211
ColIdxOfNonZeroD
237
D matrix
237
Error Messages
239
Ambiguous reference to
242
Unrecognized type "
259
" for function
259
Unterminated string
259
option if the variable does
261
Library Error Messages
263
Invalid location:
267
See model.rtw
276
Commenti su questo manuale
Nessun commento
Publish
Prodotti e manuali riguardandi Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER
Software MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 Manuale Utente
(18 pagine)
Software MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guida Utente
(574 pagine)
Software MATLAB IMAGE ACQUISITION TOOLBOX 3 Guida Utente
(408 pagine)
Software MATLAB XPC TARGET RELEASE NOTES Manuale Utente
(51 pagine)
Software MATLAB BUILDER JA 2 Guida Utente
(292 pagine)
Software MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guida Utente
(210 pagine)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente
(759 pagine)
Software MATLAB CONTROL SYSTEM TOOLBOX 9 Specifiche
(591 pagine)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guida Utente
(130 pagine)
Software MATLAB XPC TARGET RELEASE NOTES Guida Utente
(531 pagine)
Software MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES Guida Utente
(216 pagine)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifiche
(180 pagine)
Software MATLAB POLYSPACE RELEASE NOTES Manuale Utente
(240 pagine)
Software MATLAB SIGNAL PROCESSING BLOCKSET 7 Guida Utente
(738 pagine)
Software MATLAB BUILDER EX 1 Guida Utente
(182 pagine)
Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente
(354 pagine)
Software MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guida Utente
(575 pagine)
Stampa documento
Stampa pagina 274
Commenti su questo manuale