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 Comments

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
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

Sign in to comment.

Answers (0)

Categories

Products

Release

R2023b

Asked:

on 10 Nov 2023

Commented:

on 21 Nov 2023

Community Treasure Hunt

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

Start Hunting!