how to run a waitbar in a batch script
Afficher commentaires plus anciens
I want to run a waitbar during execution of an excel macro running via activeX. First i wanted to test running a waitbar in a script ran by batch command.
Here is my code :
test.m
j = batch('test1');
test1.m
h = waitbar(0,'Patientez svp...');
fin = 10;
tic
while toc < fin
waitbar(toc/fin, h, 'Traitement Excel en cours...');
end
close(h)
When i run test.m, the waitbar never appears !
May someone could help me to understand what i'm doing wrong ?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur App Building dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!