Undefines function 'fsic' for input arguments of type 'cell'

2 次查看(过去 30 天)
I have been trying to download some software and I have managed ot add the path to the file, but when i try running function front the file i keep getting the error, undefined function 'fsic' for input arguments of type 'cell'. Error in test_audpater if ~isempty(fsic(varagin, '--play'). (test_audapter is the function in the code added by the path)
Have i added the path wrong?
addpath C:\Users\Bryher\OneDrive\Documents\audapter_matlab-master\mcode;
Warning: Function Warning: Name is nonexistent or not a directory: /users/mss.system.jPxFHd/C > In path (line 109) In addpath (line 86) In addpath (line 49) In LiveEditorEvaluationHelperEeditorId (line 1) In connector.internal.fevalMatlab In connector.internal.fevalJSON Warning: Name is nonexistent or not a directory: /users/mss.system.jPxFHd/\Users\Bryher\OneDrive\Documents\audapter_matlab-master\mcode > In path (line 109) In addpath (line 86) In addpath (line 49) In LiveEditorEvaluationHelperEeditorId (line 1) In connector.internal.fevalMatlab In connector.internal.fevalJSON
test_audapter('formant', '--play')
Unrecognized function or variable 'test_audapter'.

采纳的回答

Walter Roberson
Walter Roberson 2022-7-6
and also https://github.com/shanqing-cai/audapter_mex if you have not installed that already.

更多回答(1 个)

Karim
Karim 2022-7-6
It could be the case that the required function is inside a subfoler. I would try to use
addpath( genpath( "C:\Users\Bryher\OneDrive\Documents\audapter_matlab-master\mcode" ));
Using genpath, it will also include all subfolders in the directory
  2 个评论
Bryher
Bryher 2022-7-6
hi, Ive just tried this but it doesn't seem to help with the error as its still coming up with the same error. thank you for your help though.
Karim
Karim 2022-7-6
Then you will have to add an extra folder to the matlab path (in which the function is located), or create the function and save it in the "mcode" folder.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by