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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by