how to use waitbar

1 visualizzazione (ultimi 30 giorni)
Pat
Pat il 30 Dic 2011
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

Risposta accettata

Chandra Kurniawan
Chandra Kurniawan il 30 Dic 2011
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

Più risposte (0)

Categorie

Scopri di più su App Building in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by