How do I get the Program ID for a block from Dials and Gauges Blockset 1.1.3 (R13SP1) so that I can use it as an ActiveX object?

1 view (last 30 days)
The blocks from the Dials and Gauges Blockset can be accessed using MATLABs ActiveX commands, but the interface must be initialized by calling the ACTXCONTROL function with the Program ID for the block.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The Program ID for a block can be found using the following procedure:
1) Navigate to any instance of the block in Simulink, either in a model or in the library.
2) Right click on the inner part of the control (the area covered by graphics)
3) Click on 'Block Parameters'
4) The first parameter is 'Program ID'
Note that this is the Program ID for that block in general, not a specific block. The Program ID can be used to create new ActiveX objects.

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!