How to set my gui width as the screen width
Show older comments
Hi, I try to set the width of my Gui to the user screen width.
I try: ScreenDimensions = get(0,'ScreenSize'); GuiDimensions = [0 0 ScreenDimensions(4) ScreenDimensions(3)]; set(myGui,'Position',GuiDimensions);
where 'myGui' is the background figure of the gui. It's dont work... i try eval and cast to int.
any idea?
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Control and Callbacks 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!