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)
Show older comments
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on ActiveX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!