'Show CPU cores utilization in MATLAB

Is anyway (any function etc) to show CPU cores utilization in MATLAB in a GUI likes that we have in Task Manager of windows (Performance Tab)?

Thanks.



Solution 1:[1]

If you are using Matlab on linux, you can set up a cronjob to write out the contents of /proc/loadavg to a file on your Matlab path. The contents of this file gives the 1-minute, 5-minute, and 15-minute cpu load average. You can then have Matlab read in this file periodically. The time resolution of this solution isn't magnificent, but if you can handle ~1 minute updates, than it should suffice.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daniel Klisiewicz