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

조회 수: 2 (최근 30일)
Bryher
Bryher 2022년 7월 6일
댓글: Bryher 2022년 7월 7일
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