Erron when running spectrogram

I get the following message:
Unable to resolve the name
'coder.gpu.internal.isGpuEnabled'.
every time I try to use the spectrogram function. I have installed Matlab 2023b with Signal Processing Toolbox.
This was not the case in previous Matlab versions.
Thank you in advance for your correspondence.

5 Commenti

Spyros, which function are you trying to use from Signal Processing Toolbox that you get this error with?
Can you confirm that you have access to a GPU by running "gpuDevice" in MATLAB?
Dear Sam,
thank you for your response.
I try to use spectrogram.
By running "gpuDevice" I get "gpuDevice requires Parallel Computing Toolbox".
Please do note that spectrogram function worked in previous Matlab version, without Parallel Computing Toolbox.
Kind regards
C D
C D il 20 Nov 2023
Dear Spyros,
running the following prompts should solve your problem:
>> restoredefaultpath
>> rehash toolboxcache
After that, add your toolboxes to path again.
Dear C D,
thank you for your response.
Your suggestion temporarily solves the problem, because by restarting Matlab, the problem reoccurs.
Kind regards

Accedi per commentare.

Risposte (0)

Prodotti

Release

R2023b

Richiesto:

il 10 Nov 2023

Commentato:

il 21 Nov 2023

Community Treasure Hunt

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

Start Hunting!

Translated by