tic toc command in MATLAB GUI
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using tic toc commands to know about the computation speed, however if i use this command it gives output in command window.
I need to minimize all GUI'S to check time taken by my code. How can i display time on GUI window? So, that user can easily estimate computation speed without minimizing any windows.
0 Kommentare
Antworten (3)
Azzi Abdelmalek
am 15 Mai 2013
t=toc
Then display t in an edit text
Sean de Wolski
am 16 Mai 2013
t = tic;
set(uicontrol('style','text'),'String',toc(t));
Use set to set the 'String' property of the textbox you care about.
doc set
For more info.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!