MATLAB 2011a to MATLAB 2013

2 views (last 30 days)
Sydney Gustafson
Sydney Gustafson on 22 Jul 2019
Commented: Walter Roberson on 22 Jul 2019
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 Comment
Walter Roberson
Walter Roberson on 22 Jul 2019
Possibly
tmp = fullfile(subfatherdir, subsname{s}, tp{1}, session{1} ,'swau*');
tmp = dir(tmp) ;

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!