Platform MACA64 not recognized error

7 Ansichten (letzte 30 Tage)
Chris
Chris am 8 Jul. 2024
Beantwortet: Daniel am 16 Jul. 2024
I recently started getting errors in Matlab stating: "Platform MACA64 not recognized". This happens when opening a script file to edit or executing a script.
In this example the error occurs in my script when it calls audioread (myFileName). The error occurs in the bowels of audioread which is of course a builtin function, so it's strange that it doesn't work.
Error using audioread>readaudio (line 181)
Platform MACA64 not recognized.
Error in audioread (line 160)
[y, Fs] = readaudio (filename, range, datatype);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in Deconv (line 5)
[invSweep, Fs1] = audioread (myFileName));
This example occurs when opening a script to edit.
I'm running on a Macbook with Apple Silicon (M2). I tried reinstalling Matlab by first deleting the Matlab Applications file and the Mathworks Application Support folder but that didn't seem to make a difference. I even tried installing the Intel version and running with Rosetta but I get the same error except instead of MACA64 it says MACI64.
One other possibly related thing is some functions such as audioread are not found in the commandline help even though I can execute these commands.
>> help audioread
audioread not found.
Search the documentation for audioread
Any ideas?
  5 Kommentare
Chris
Chris am 9 Jul. 2024
Behavior is exactly the same with R2024a vs R2024b.
Chris
Chris am 9 Jul. 2024
Also, I noticed that I can't sign in to my account from Matlab. It just goes in an endless loop prompting me to login. Actually, once the login appeared to work momentarily (had my name in the upper right corner) but then it logged out and I was back in the same loop. I am able to log in just fine from the website.
I wonder if that is the cause of all of my trouble? Any ideas?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Daniel
Daniel am 16 Jul. 2024
Hi Chris,
These issues are usually indicative of an issue with your MATLAB Path. To restore the default path, enter the following in the MATLAB Command Window:
>> restoredefaultpath
If you have MATLAB Path configurations you don't want to lose, you can save those before hand by saving the output of the following from the MATLAB Command Window:
>> which -all pathdef

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by