What does this error mean?
Mostrar comentarios más antiguos
Hi there,
I am really new to matlab and I have difficulties understanding what this error means. Your help will really be appreciated. Thank you!
Error in function Close: Incorrect argument type supplied
Discrepancy between a specified and supplied argument:
Specified Argument Description:
direction: Input
position: 1
presence:
formats allowed:
double
minimum M: 1
maximum M: 1
minimum N: 1
maximum N: 1
minimum P: 1
maximum P: 1
Provided Argument Description:
direction: Input
position: 1
presence: present
format:unclassified
number of dimensions: 2
M: 1
N: 1
P: 1
4 comentarios
Walter Roberson
el 27 de Feb. de 2020
You are expected to pass a scalar number to Close but you passed something that the software could not recognize. For example you might have tried to pass a string() to it.
You are using a third party toolbox. I have seen similar output before but not often enough to know which toolbox you are using.
You did not show your code so we do not know what you tried to pass to the toolbox's Close() function.
Walter Roberson
el 27 de Feb. de 2020
Now that I think about it, the output reminds me of some I have seen for netcdf or hdf4 routines.
nehohmee
el 27 de Feb. de 2020
Walter Roberson
el 27 de Feb. de 2020
Unfortunately I do not have experience with the audio part of that toolbox. If you post a complete traceback I might possibly be able to figure something out.
Respuestas (0)
Categorías
Más información sobre Multirate Signal Processing 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!