MATLAB 2011a to MATLAB 2013

2 ビュー (過去 30 日間)
Sydney Gustafson
Sydney Gustafson 2019 年 7 月 22 日
コメント済み: Walter Roberson 2019 年 7 月 22 日
I have an older version of MATLAB (2011) because that is what our University uses but am trying to use a script from 2013 MATLAB and continually get the same error:
??? Undefined function or method 'eq' for input arguments of
type 'cell'.
Error in ==> fullfile at 39
elseif (f(end)==fs) || (part(1)==fs || (bIsPC &&
(f(end)=='/' || part(1)=='/')) )
Error in ==> firstlevelanalysis_estimate_BITREC1 at 16
tmp=fullfile(subfatherdir,subsname(s),tp(1),session(1),'swau*');tmp=dir(tmp{1});
Is there a way to make this script compatible?
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 7 月 22 日
Possibly
tmp = fullfile(subfatherdir, subsname{s}, tp{1}, session{1} ,'swau*');
tmp = dir(tmp) ;

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by