How do I change the position or properties of ActiveX controls programmatically in MATLAB 7.0.1 (R14SP1)?
Show older comments
I cannot change the properties of an ActiveX control programatically at run time in MATLAB. Specifically, I place an ActiveX control on my MATLAB GUI using the following syntax:
pos = [100 120 350 200];
h = actxcontrol('<progid>',pos,hObject)
I can place an ActiveX control on a figure at location [100 120] with width 350 and height 200. Alternatively, I can use GUIDE to embed an ActiveX control on a GUI. Once the control is on the figure (or I run the GUI), however, its position and other properties are not exposed, so I have no way of changing them.
Accepted Answer
More Answers (0)
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!