MATLAB 2011a to MATLAB 2013

2 vues (au cours des 30 derniers jours)
Sydney Gustafson
Sydney Gustafson le 22 Juil 2019
Commenté : Walter Roberson le 22 Juil 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 commentaire
Walter Roberson
Walter Roberson le 22 Juil 2019
Possibly
tmp = fullfile(subfatherdir, subsname{s}, tp{1}, session{1} ,'swau*');
tmp = dir(tmp) ;

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by