MATLAB 2011a to MATLAB 2013

2 visualizzazioni (ultimi 30 giorni)
Sydney Gustafson
Sydney Gustafson il 22 Lug 2019
Commentato: Walter Roberson il 22 Lug 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 Commento
Walter Roberson
Walter Roberson il 22 Lug 2019
Possibly
tmp = fullfile(subfatherdir, subsname{s}, tp{1}, session{1} ,'swau*');
tmp = dir(tmp) ;

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by