Suppress parallel toolbox logs
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to suppress the display of messages like Parallel pool using the 'local' profile is shutting down.?
I'm doing the following: evalc('pool = gcp()') and evalc('delete(pool)'). The first command successfully suppresses pool creation messages, but the second doesn't do it when running as a standalone application (.exe). It does work (i.e., no message is shown) when running in MATLAB.
0 个评论
回答(1 个)
Raymond Norris
2022-11-8
If you're not already, add a semicolon to suppress the evalc calls.
evalc('pool = gcp();');
evalc('delete(pool)');
Above reason aside, I'm currious why you're wrapping calls into evalc.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!