| Contents | Index |
Type indicates the type of the object. Type is automatically defined after the instrument object is created with the serial, gpib, or visa function.
Using the instrfind function and the Type value, you can quickly identify instrument objects of a given type.
Usage | Any instrument object |
Read only | Always |
Data type | String |
gpib | The object type is GPIB. |
serial | The object type is serial port. |
tcpip | The object type is TCPIP. |
udp | The object type is UDP. |
visa-gpib | The object type is VISA-GPIB. |
visa-vxi | The object type is VISA-VXI. |
visa-gpib-vxi | The object type is VISA-GPIB-VXI. |
visa-serial | The object type is VISA-serial. |
The value is automatically determined when the instrument object is created.
Create a serial port object on a Windows machine associated with the serial port COM1. The value of the Type property is serial, which is the object class.
s = serial('COM1');
s.Type
ans =
serial
instrfind, gpib, serial, tcpip, udp, visa

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |