Bonjour
j'ai un problème avec une fonction dans matlab.
Voici ma fonction

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
for i_research_sensor = 1 : length(s.Connection_1)
 
step3_Con1 =find(arrayfun(@(data) regexp(data,'A[0-9]*'),s.Connection_1,'UniformOut put',false)==1); 
 
for i_step_Con1 = 1 : length(step3_Con1)
 
 
fprintf(fid_save,[s.EMS{step3_Con1(i_step_Con1)} char(9) s.Name{step3_Con1(i_step_Con1) } char(9) s.Connection_1{step3_Con1(i_st ep_Con1)} char(9) s.Connection_2{step3_Con1(i_st ep_Con1)} char(9) s.Connection_3{step3_Con1(i_st ep_Con1)} char(9) s.Connection_4{step3_Con1(i_st ep_Con1)} char(10)]);
 
end
end
Je voudrais transformer step3_Con1 en cell pour que je puisse l'ecrire dans un fichier.

Lorsque j'utilise ce code j'ai une erreur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
Undefined function or method 'eq' for input arguments of type 'cell'.
Je ne comprends pas ou est mon erreur pouvez vous m'aider svp?