![Rigol DSG5000 Series Programming Manual Download Page 130](http://html.mh-extra.com/html/rigol/dsg5000-series/dsg5000-series_programming-manual_1460929130.webp)
The default name of the button is "Button1". Right-click the button and select Edit
Text in the pop-up menu to change the button name to "*IDN?".
7. Click "*IDN?" to run the program. The device information of the microwave signal
generator is as shown in the figure below.
5.3
Matlab Programming Example
Program used in this example: MATLAB R2009a
Functions realized in this demo: read the current frequency and amplitude of the
microwave signal generator.
1. Run the Matlab software and modify the current path (Current Directory). In this
example, modify the current path to D:\DSG5000_Demo.
2. Click File > New > Blank M File in the Matlab interface to create an empty M file.
Programming Examples
122
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.