Borrar filtros
Borrar filtros

how to use waitbar

1 visualización (últimos 30 días)
Pat
Pat el 30 de Dic. de 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

Respuesta aceptada

Chandra Kurniawan
Chandra Kurniawan el 30 de Dic. de 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 comentario
Pat
Pat el 30 de Dic. de 2011
thanks a lot chandra

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by