Borrar filtros
Borrar filtros

How to update waitbar from .net function call?

1 visualización (últimos 30 días)
Scott
Scott el 7 de Mayo de 2013
Hi,
I'm using 2009b on a isolated network so I can't easily post code.
I have a GUI that calls a .Net function. The .Net function loads a large file and can take 20+ seconds. During that time, I want to update the user with a waitbar. I understand how to update a waitbar in a Matlab loop, but I don't know how to make that work when Matlab is blind to the progress.
I was thinking I could use multithreading and have one thread call NET_read_file and a different thread (in a loop) call NET_get_progress until the file was completely read in.
Is there a way to get the same result without the Parallel Computing Toolbox or is there an easier way I haven't thought about?
Thanks in advance.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements 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