how to use waitbar

1 次查看(过去 30 天)
Pat
Pat 2011-12-30
please tell how to add wait in the code to see the program executing
OriginalData=xlsread('dataset.xls','A1:F500');
[r c]=size(OriginalData)
k=zeros(r,1);
OriginalData=[OriginalData k];
[ DiscretData,DiscretizationSet1 ] = CACC_Discretization( OriginalData,1);
DiscretizationSet1

采纳的回答

Chandra Kurniawan
Chandra Kurniawan 2011-12-30
At line 40, add -> h = waitbar(0,'Please wait...');
At line 98, add -> waitbar(p / F); and original line 98 becomes line 99
At line 100, add -> close(h); ad original line 99 becomes line 101

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by