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

2 Ansichten (letzte 30 Tage)
Bryher
Bryher am 6 Jul. 2022
Kommentiert: Bryher am 7 Jul. 2022
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'.

Akzeptierte Antwort

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

Weitere Antworten (1)

Karim
Karim am 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 Kommentare
Bryher
Bryher am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by