Platform MACA64 not recognized error
Mostrar comentarios más antiguos
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 comentarios
As you can see below, a missing audioread is strange. It should be present on all platforms. If you try to delve into the Matlab installation folder, are you able to find a file in the location described below?
which('audioread','-all')
help audioread
The actual error occurs on this line:
readPlugin = PluginManager.getInstance.getPluginForRead(filename);
So now we should try to hunt down where this class is created.
which PluginManager -all
Seems like a dead end, but it isn't. It's imported earlier from here:
\MATLAB\R2024a\toolbox\shared\multimedia\+multimedia\+internal\+audio\+file
Since the first line of the getPluginForRead function is this:
PluginManager.errorIfUnsupportedFile(fileToRead);
my guess is that you're trying to read an unsupported file.
If that is indeed the case, I find it odd that this would be the error. Perhaps the assert on line 210 of PluginManager is incorrect somehow?
assert(false, 'Audio Toolbox always available on Mac OS X');
Chris
el 8 de Jul. de 2024
Rik
el 9 de Jul. de 2024
I don't know what is going on here. R2024b is also not released yet (only a pre-release), so some issues might occur there.
Chris
el 9 de Jul. de 2024
Chris
el 9 de Jul. de 2024
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!