필터 지우기
필터 지우기

How to update waitbar from .net function call?

조회 수: 1 (최근 30일)
Scott
Scott 2013년 5월 7일
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개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by