How can i connect my matlab program with matlab GUI?
이전 댓글 표시
I want to fetch the execution(processing) time of the program and display it on GUI.
Any related answers are welcome..I am a newbie
답변 (2개)
Image Analyst
2013년 4월 18일
% Start the timing.
tic;
% some code
% Get elapsed time.
elapsedTime = toc;
% Put the time into a string.
infoText = sprintf('The Elapsed time = %.3f', elapsedTime);
% Put the string into a static text label on the GUI.
set(handles.textLabel1, 'String', infoText);
Cedric
2013년 4월 18일
0 개 추천
I would recommend the official documentation:
Under MATLAB, you can get the PDF labeled "Creating Graphical User Interfaces".
카테고리
도움말 센터 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!