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

2 views (last 30 days)
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'.

Accepted Answer

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

More Answers (1)

Karim
Karim on 6 Jul 2022
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 Comments
Bryher
Bryher on 6 Jul 2022
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 on 6 Jul 2022
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.

Sign in to comment.

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!