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!