Clear Filters
Clear Filters

Getting the error "too many input arguements" on filterDesigner

4 views (last 30 days)
I am trying to design a kaiser low pass window via the filter designer tool. I am constantly getting an error even if I dont change anything and try to design a kaiser window with the default values.

Accepted Answer

Walter Roberson
Walter Roberson on 20 Oct 2023
Moved: Walter Roberson on 21 Oct 2023
The most common cause of problems similar to this, is if you happen to have a function on your MATLAB path that has the same name as one of the Mathworks provided functions.
Experiment with giving the commands
restoredefaultpath; rehash toolboxcache
and then trying again. If the problem goes away then Yes, some function on your path is interfering. (If the problem does not go away then there is still the possibility of the interfering function being in your current working directory)
  2 Comments
Walter Roberson
Walter Roberson on 21 Oct 2023
That command in itself is not a permanent solution: you would need to save your MATLAB path for it to be permanent. However if you save your path you will lose access to any third-party packages that might be in your path.
I would suggest quitting MATLAB, then going back into MATLAB, and then starting pathtool and using it to move any third-party packages such as SPM12 to the bottom. With them being at the bottom, any mathworks-supplied function will have priority over them. You might, however, end up with the third-party package not working correctly, as it would (probably) end up using the Mathworks-supplied version of whatever-it-is.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!