| Contents | Index |
void xPCAddScope(int port, int scType, int scNum);
port | Enter the value returned by either the function xPCOpenSerialPort or the function xPCOpenTcpIpPort. |
scType | Enter the type of scope. |
scNum | Enter a number for a new scope. Values are 1, 2, 3. . . |
The xPCAddScope function creates a new scope on the target computer. For scType, scopes can be of type host or target, depending on the value of scType:
SCTYPE_HOST for type host
SCTYPE_TARGET for type target
SCTYPE_FILE for type file
Constants for scType are defined in the header file xpcapiconst.h as SCTYPE_HOST, SCTYPE_TARGET, and SCTYPE_FILE.
Calling the xPCAddScope function with scNum having the number of an existing scope produces an error. Use xPCGetScopes to find the numbers of existing scopes.
API functions xPCScAddSignal, xPCScRemSignal, xPCRemScope, xPCSetScope, xPCGetScope, xPCGetScopes
Target object method addscope

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |