R2022b Excessive Runtimes (MacOS)
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am attempting to run a small script that utilizes a few methods from a class in my working directory.
The entire script is maybe 10 lines, but will not terminate despite letting the machine run upwards of 3 minutes (with no other apps running in the background). My machine specs and software are as follows:
macOS: Ventura 13.1
Chip: M1
Model: MacBook Pro, 13-inch, 2020, 8 GB Memory
MATLAB Software: R2022b, Update 3 (64-bit) for academic use
I am incredibly new to MATLAB and have not really coded in any Java based language before, so non-technical terms would be appreciated very much.
The script is attempting to do image processing on a single image, which, while somewhat of a hefty operation, I don't think should be maxing out my CPU at >700%.
1 commentaire
Rik
le 10 Mar 2023
Without the code it is impossible to really help you.
The number of lines is also a poor indication of the complexity, as a small number of lines can still call an intensive process. It is trivial to write a single line that results in days of work for your CPU.
Réponses (1)
Vinayak Gupta
le 4 Avr 2023
Hi Kayson
It is very difficult to help without code. ALso, MATLAB for M1 is in open beta right now so, there can be some unexpected behaviours.
General troubleshooting can include:
- Checking your hardware meets the minimum requirements for MATLAB.
- Disabling unneccessary toolboxes and features in matlab.
- Update your code to use built-in functions and vectorized operations wherever possible.
- Also, you can use matlab profiler to figure out what is slowing down your code.
Read more about Image Processing Toolbox
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!