Many
Manuals
search
Kategorien
Marken
Startseite
MATLAB
Software
REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER
Betriebsanweisung
MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung Seite 218
Herunterladen
Teilen
Teilen
Zu meinen Handbüchern hinzufügen
Drucken
Seite
/
386
Inhaltsverzeichnis
LESEZEICHEN
Bewertet
.
/ 5. Basierend auf
Kundenbewertungen
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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
7
Models with Multiple Sample Rates
7-18
Note
Inserting a Unit Delay block changes the model. The output
of
the
slower
b
lock
is no
w
delayed
by
one time
step compared
to the
o
utput
w
ithout
a
Uni
t De
lay
.
1
2
...
213
214
215
216
217
218
219
220
221
222
223
...
385
386
Real-Time Workshop
1
How to Contact The MathWorks:
2
Targeting Custom Hardware
12
Real-Time Workshop Libraries
13
Contents
14
Real-Time Workshop Ada Coder
15
Glossary
16
Foreword
17
Foreword
18
What Is MATLAB?
19
What Is Simulink?
20
What Is Stateflow?
21
How to Use This Guide
23
Boldface with an
23
File menu
23
Installation
24
System,gototheEnvironment
25
Where to Go from Here
27
Introduction to the
29
The Real-Time Workshop
31
Types of Output
32
The Rapid Prototyping Process
34
Using External Mode
37
Modeling Systems in Simulink
38
Algorithm Design and Analysis
39
Target Language Compiler
42
Make Utility
42
S-Functions
43
The Build Procedure
43
Basic Features of example.rtw
45
Basic Features of example.c
47
Bundled Target Systems
48
Getting Started with the
51
2. Customizing Generated Code
54
3. Optimizing Generated Code
55
4. Validating Generated Code
55
8. Code Tracing
56
9. Automatic Build Procedure
56
10. Parameter Tuning
56
Simulation Parameters dialog
58
The Build Process
59
Specifying Model Parameters
60
The Simulink Model
62
Setting Program Parameters
64
Customizing the Build Process
66
Inline parameters check
66
Data Logging
67
The UNIX Template Makefile
68
PC Template Makefiles
69
Generic Real-Time Modules
70
Continuous Blocks
71
Discrete Blocks
71
Nonlinear Blocks
71
Analyzing Data with MATLAB
76
Tracing Generated Code Back
76
Targeting dSPACE
78
Motherboard “host”
79
Embedded cards
79
(target system)
79
PC chassisMonitor/keyboard
79
Real-Time Interface (RTI)
80
Code Generation and the
83
Build Process
83
Automatic Program Building
85
Build button on the
85
Inline Parameters
92
Retaining the model.rtw File
93
Template Makefile
93
Make Command
93
Options Button
97
System Target File Browser
98
S3 in this block
99
S3 in the generated
99
Tunable Parameters
100
Signal Properties
101
.tlc) files. These files are
104
Template Makefiles
105
Make Utilities
108
Simulation
109
Parameters
109
Generic Real-Time Templates
114
File and Function Splitting
120
Code Generation Options
122
Function Management pull-down
122
Function Split Threshold
122
External Mode
125
Introduction
126
4 External Mode
130
Signals & Triggering
131
-tf switch overrides the
133
A and B.WithA=2 and B=3,the
133
External Mode GUI
134
External Mode Control Panel
134
Target Interface
135
Data Archiving
139
Update Diagram
142
Using the TCP Implementation
146
External Target
146
Interface
146
External
148
MEX-File Optional Arguments
148
Options on the Real-Time
149
Possible Error Conditions
150
Data Logging and Signal
153
Monitoring
153
MAT-File Data Logging
154
Make command
154
To File Block MAT-Files
154
C API for Signal Monitoring
156
Program Architecture
163
Model Execution
166
SimStruct,but
187
The main Function
189
Initialization
189
Program Termination
190
Components
190
The SimStruct Data Structure
194
— MdlInitializeSampleTimes
195
Inlining S-Functions
196
Embedded Program Framework
198
Models with Multiple
201
Sample Rates
201
Solver options pull-down
203
Executing Multitasking Models
205
Lowest Priority
206
Highest Priority
206
Singletasking
208
Executing Models in Real-Time
209
Multitasking Operation
210
Singletasking Operation
210
Sample Rate Transitions
211
T=1sec T=2sec
212
T=2s T=1s
212
T=1sT=1s T=1s
212
T=2sT=1s
212
Unit Delay
218
Targeting Tornado for
219
Real-Time Applications
219
VxWorks Support library
221
Help button on the
222
WindSh (the
223
StethoScope
226
Host Processes
227
VxWorks Tasks
227
Implementation Overview
229
VxWorks Configuration
231
Downloading Configuration
232
Simulation menu:
233
Step Size
233
Initiating the Build
236
Running the Program
237
Targeting DOS for
241
Hardware Requirements
246
Software Requirements
246
Device Drivers
246
Simulink Host
247
Modifying Program Timing
248
Device Driver Blocks
249
'0x300')
252
[-10 10] volts. Refer
252
[lo hi],for
254
Including Device Driver Code
255
Building the Program
256
Targeting Custom
259
Hardware
259
Run-Time Interface
262
Implementing Device Drivers
265
Required Functions
267
S_FUNCTION_NAME Definition
269
Level 2 S-Function Definition
269
Defining the SimStruct
269
Initializing Sample Times
273
Initializing the I/O Device
274
Accessing the Hardware
275
ADC Outputs
275
DAC Outputs
275
The Termination Function
276
Libraries
279
Custom Code Library
282
MdlStart
284
Function Custom Code
284
Interrupt Handling
287
Rate Transition Block Example
302
Library for Your System
303
Configuring Real-Time
305
Workshop for Your
305
Application
305
Real-Time Code Format
314
Real-Time malloc Code Format
316
Embedded-C Code Format
318
Local block outputs
319
Unsupported Blocks
320
System Target File
320
S-Function Code Format
322
Restrictions
324
General Modeling Techniques
325
Stateflow Optimizations
326
Simulation Parameters
326
Diagnostic Page
327
Real-Time Workshop Page
327
Compiler Options
329
Rapid Simulation Target
331
Browse button and
334
System Target
334
File Browser
334
Build buttonontheReal-Time
336
Simulation Performance
343
Carlo simulations
344
Ada Coder
345
Getting Started
350
Generating Ada Code
352
Generated Files
353
Parameters field blank)
354
Generating the Ada Code
355
Signal_Name is declared in
360
Code Validation
362
Supported Blocks
365
Directory Tree
369
Directory Purpose
374
B Glossary
378
See Rsim 13-2
384
SimStruct data structure
385
Kommentare zu diesen Handbüchern
Keine Kommentare
Publish
Verwandte Produkte und Handbücher für Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER
Software MATLAB BUILDER EX 1 Betriebsanweisung
(164 Seiten)
Software MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Betriebsanweisung
(252 Seiten)
Software MATLAB SYSTEMTEST RELEASE NOTES Installationsanleitung
(237 Seiten)
Software MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Bedienungsanleitung
(54 Seiten)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Wartungshandbuch
(282 Seiten)
Software MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 Bedienungsanleitung
(18 Seiten)
Software MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Betriebsanweisung
(574 Seiten)
Software MATLAB IMAGE ACQUISITION TOOLBOX 3 Betriebsanweisung
(408 Seiten)
Software MATLAB XPC TARGET RELEASE NOTES Bedienungsanleitung
(51 Seiten)
Software MATLAB BUILDER JA 2 Betriebsanweisung
(292 Seiten)
Software MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Betriebsanweisung
(210 Seiten)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung
(759 Seiten)
Software MATLAB CONTROL SYSTEM TOOLBOX 9 Spezifikationen
(591 Seiten)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung
(130 Seiten)
Software MATLAB XPC TARGET RELEASE NOTES Betriebsanweisung
(531 Seiten)
Software MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES Betriebsanweisung
(216 Seiten)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Spezifikationen
(180 Seiten)
Software MATLAB POLYSPACE RELEASE NOTES Bedienungsanleitung
(240 Seiten)
Software MATLAB SIGNAL PROCESSING BLOCKSET 7 Betriebsanweisung
(738 Seiten)
Software MATLAB BUILDER EX 1 Betriebsanweisung
(182 Seiten)
Dokument drucken
Seite drucken 218
Kommentare zu diesen Handbüchern