Bonjour.
Un exemple :

clear
%Initialisation composants....
VRTAB=[2:2:20];
for k = 1:length(VRTAB)
R=VRTAB(k);
sim('nom_prog_simulink');
vr(k,1:length(yout)) = yout';