MATLAB is extremely slow on MacBook with Ventura

54 ビュー (過去 30 日間)
Alessandro
Alessandro 2023 年 6 月 2 日
回答済み: Divyanshu 2023 年 6 月 12 日
Hello,
In the last months MATLAB has become extremely slow when executing very simple commands (like basic calculations/functions, plotting). This occurs the first time I execute a given command (execution time is 5-10 s), while the second time it takes only fractions of a second.
I am using MATLAB R2023a on a Macbook Air M1 or M2, Ventura 13.3.1.
Does anyone know why and how to solve it? Does anyone know where to look to find more info about MATLAB speed (CPU usage, processes, etc.)? I am not really an expert in this field..

回答 (1 件)

Divyanshu
Divyanshu 2023 年 6 月 12 日
Hi Alessandro,
The following steps can be tried to speed-up the performance of MATLAB:
  • MATLAB performance can be affected by available memory and swap space. You can check the memory usage in the macOS Activity Monitor and close any unnecessary applications.
  • You can try resetting MATLAB preferences to their default values.
  • MATLAB provides a built-in profiler that allows you to analyse the execution time of your code. Execute the “profile on” command to enable profiling, run your code, and then execute “profile off and use profiler to analyse the results.
Please refer the following documentation for more information:

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by