Effacer les filtres
Effacer les filtres

how to use waitbar

1 vue (au cours des 30 derniers jours)
Pat
Pat le 30 Déc 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

Réponse acceptée

Chandra Kurniawan
Chandra Kurniawan le 30 Déc 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
  1 commentaire
Pat
Pat le 30 Déc 2011
thanks a lot chandra

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Dialog Boxes dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by