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

7 ビュー (過去 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 件のコメント
Bryher
Bryher 2022 年 7 月 7 日
Thank you this has fixed it.

サインインしてコメントする。

その他の回答 (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 Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by