How to update waitbar from .net function call?
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!