Filter löschen
Filter löschen

How to update waitbar from .net function call?

1 Ansicht (letzte 30 Tage)
Scott
Scott am 7 Mai 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.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by