DSP System Toolbox example returns error as not able to find the DSP Systems Toolbox; please let me know how to fix it.

13 ビュー (過去 30 日間)
Although I do have installed licensed DSP systems toolbox (see the very bottom of this), the example in LiveScript code: "Introduction to Streaming Signal Processing in MATLAB" gives me an error when calling filterAnalyzer(NotchFilter)
.
.
.
filterAnalyzer(NotchFilter);
Error using signal.internal.filteranalysis.parsers.parseFilterObject
DSP System Toolbox is required to analyze filter input 1.
Error in signal.internal.filteranalysis.parsers.parseFilters
Error in filterAnalyzer (line 230)
[filtArray,warningIDs,warningMsgs,parsedSettings] = signal.internal.filteranalysis.parsers.parseFilters(filters,parsedSettings);"
My VER gives:
MATLAB Version: 24.2.0.2773142 (R2024b) Update 2
MATLAB License Number: 4XXXXXXXX
Operating System: Microsoft Windows 11 Home Version 10.0 (Build 26100)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 24.2 (R2024b)
DSP System Toolbox Version 24.2 (R2024b)
Signal Processing Toolbox Version 24.2 (R2024b)

回答 (1 件)

Govind KM
Govind KM 2025 年 7 月 17 日
It is possible that the DSP System Toolbox directories have not been included in your MATLAB path. The following commands can be used to restore the default path:
restoredefaultpath;
rehash toolboxcache;
savepath;
You can make sure that the DSP System Toolbox directories are on the MATLAB path using the command:
pathtool
Additionally, the following command can be used to check if there is an issue with your license:
license('test', 'Symbolic_Toolbox');
If this command returns 0, there could be an issue with your license. If so, you can try running the following command in to diagnose the issue:
[status, errmsg] = license('checkout', 'Signal_Blocks')
Kindly refer to the documentation pages for more information on these commands:
Hope this helps!

Community Treasure Hunt

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

Start Hunting!

Translated by