uicontrol doesn't work in Matlab 2023a
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
feynman feynman
el 15 de Abr. de 2024
Comentada: Bruno Luong
el 16 de Abr. de 2024
figure;pauseButton=uicontrol('Style','pushbutton',...
'String','pause','Position',[2000 60 100 100],...
'Callback',@(src,event)uiwait);
This code is supposed to work but it doesn't have any button showing up in Matlab 2023a, why?
0 comentarios
Respuesta aceptada
Bruno Luong
el 15 de Abr. de 2024
The button position you give is way off push the button outside the universe. This happens with all MATLAB.
figure;pauseButton=uicontrol('Style','pushbutton',...
'String','pause','
Callback',@(src,event)uiwait);
6 comentarios
Bruno Luong
el 16 de Abr. de 2024
You still don't understand the concept of Unit, if you do you would never use Position outside 0, 1 in normalized units
Google and read. Sorry but I'll not here to correcct every single mistake you make by randomly do in your code.
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!