Estimated Time Left for Executing a Code Using MATLAB Parallel Computing Toolbox
4 ビュー (過去 30 日間)
Raymond Norris 2022 年 4 月 16 日
MATLAB doesn't know how long your code should run for, so there's no way to know how much time is left. What I would suggest is looking at parallel.pool.DataQueue. Using a DataQueue, you can send back a tickle to MATLAB when an iteration has completed. From this, you might be able to deduce how much work is left to be done. The Wait Bar example is similar to what you could use (though you don't need to use a GUI to display the current iteration).