
17 Function Reference
17-12
-
User’s Guide
1
-
508-647-7000 (Phone)
2
-
508-647-7001 (Fax)
2
-
The MathWorks, Inc
2
-
3 Apple Hill Drive
2
-
Natick, MA 01760-2098
2
-
Revision History
3
-
Working wi
8
-
Graphical User Interfaces
10
-
Execution Modes
10
-
Environment
11
-
Vector CANape Support
11
-
Frequently Asked Questions
12
-
Function Reference
14
-
Functions
15
-
Configuration Parameters
15
-
Contents
16
-
Target and Scope O bjects
17
-
Target Objects
18
-
Scope Objects
19
-
1 Target and Scop e Objects
20
-
• TriggerS lope
23
-
See the scope object function
23
-
Targets and Scopes in the
25
-
MATLAB Interface
25
-
Working with Tar get Objects
26
-
Deleting Target Objects
27
-
Displaying Tar g
28
-
Working with Target Ob jects
29
-
Working with Scope Objects
31
-
Pretriggering (P<0)
41
-
Posttriggering (P>0)
42
-
Acquisition of Gap-Free Data
44
-
Signals and Parameters
49
-
Monitoring Signals
50
-
Mo del Hierarchy node
55
-
Creating Scopes
65
-
Target Scopes
67
-
Scope 1
67
-
Scope 2, click the xPC Target
69
-
Scope 2. (Note that
69
-
Start the scop
73
-
Scope 2, right-click Scope
75
-
Software Triggering Scopes
77
-
Copying Files to the Host PC
83
-
TargetPC1
85
-
Scope of Type File
99
-
3 Signals and Parameters
100
-
Signal Tracing
101
-
Signal Logging
105
-
Hierarchy
115
-
7 Press the Enter key
117
-
800 and click OK
123
-
Inlined Parameters
127
-
10 Click Apply ,thenclickOK
129
-
11 In th
129
-
Signal Generator
131
-
Booting from a DOS Device
135
-
DOSLoader Mode
136
-
Restrictions
137
-
4 Bo oting from a DOS Device
138
-
Creating a DOS System Disk
140
-
Embedded Option
141
-
Introduction
142
-
5 Embedded Option
144
-
Embedded Option Setup
147
-
Stand-Alone Target Setup
148
-
Updating Enviro
149
-
Software Environment and
153
-
Target PCs
154
-
Explorer
155
-
Settings
157
-
1MB, 4MB,or16
158
-
Appearance
158
-
1 In the MATLAB window, type
159
-
2 In the MATLAB window, type
159
-
Working with Target PC
165
-
Environments
165
-
Properties
167
-
To check your changes, type
170
-
Alternatively, you can type
171
-
Using the Target PC
173
-
Command-Line Interface
173
-
Target PC
175
-
Files and File Systems
181
-
methods for both
184
-
Using xpctar get.ftp Objects
185
-
Using xpctarget.ftp Objects
187
-
Using xpctar get.fs Objects
189
-
Using xpctarget.fs Objects
191
-
10 Graphical User Interfaces
200
-
From xPC Target Block
203
-
Marking Block Parameters
205
-
Marking Block Signals
207
-
Interface
211
-
Web Browser Interface
212
-
Disconnect
213
-
Using the Main Pa
217
-
Changing WWW Properties
219
-
4 Click OK
222
-
Introducing Execution Modes
224
-
Interrupt M ode
225
-
12 Execution Modes
226
-
Polling Mode
227
-
Setting the Polling Mode
229
-
-axpcCPUClockPoll=1200
231
-
-axpcCPUClockPoll=0
231
-
Target Application
233
-
Within a Model
235
-
Polling M o de
237
-
Incorporating Fortran
239
-
Code into the xPC Target
239
-
Before You Start
240
-
Prerequisites
241
-
In This Example
243
-
Compiling Fortran Files
245
-
SimStruct)
246
-
Vector CANape S upport
255
-
Vector CANape
256
-
- tg.start
257
-
- tg.stop
257
-
14 Vector CANape
258
-
Software
259
-
Event Mode Data Acquisition
265
-
Over view
268
-
BIOS Settings
269
-
Booting Issues
270
-
- BOOTSECT.RTT
270
-
- XPCTGB1.RTA
270
-
Is the Target PC Halted?
271
-
Communications
272
-
15 Frequently Asked Questions
274
-
Communication Issues?
275
-
- ReadFile Err or: 6
280
-
- Reinstall the software
280
-
2 At the MATLAB prompt, type
281
-
Troubleshooting Build Issues
285
-
- States
293
-
- Output
293
-
- Final sta
293
-
- Signal lo
293
-
Partitions?
299
-
2^(n-1)
301
-
Refer to the Documentation
303
-
Target PC Command-Line
305
-
Interface Reference
305
-
Target PC Commands
306
-
Scope Object Methods
308
-
Software Environment
314
-
Open xPC Target Explorer
315
-
17 Function Reference
316
-
Target Application Objects
317
-
File and File System Objects
320
-
Add (env c olle ction object)
326
-
Purpose Create scopes
327
-
Syntax MATLAB command line
327
-
Arguments
327
-
,targ et_PC_dir)
332
-
Purpose Remove target obje ct
334
-
,file_ID)
339
-
See Also set (env object)
362
-
The target object methods
372
-
The built-in MATLAB functions
372
-
NumSamples
387
-
Item (env collection object)
406
-
Syntax file=readxpcfile(data)
414
-
Purpose Reboot target PC
416
-
Signals updated
422
-
MaxModelSize
431
-
See Also get (env object)
438
-
CommunicationTimeOut
450
-
'Normal'
450
-
OutputLog changes
450
-
SampleTime
450
-
NewValues: {[10] [100]}
454
-
The scope object method
468
-
See Also xpctarget.xpc
475
-
Property
486
-
, delete,andtarge tping
490
-
Argument
493
-
19 Configuration Parameters
500
-
Command-Line Information
503
-
See Also
503
-
Specify target PC name
505
-
Dependencies
507
-
Execution mode
509
-
I/O board genera
511
-
Allow tasks to ex
515
-
Log Task Executi
517
-
Include model hi
525
Kommentare zu diesen Handbüchern