Increment output display store one by one in simulink model

a={'078';'084';'0F1';'0F2';'0F3'};b={'078';'0F2';'0F3'};h={'U132';'U123';'U654';'U546';'U456'};
k = 1;
for i = 1 : 3
for j = 1 : 5
if isequal(b (i), a (j))
c(k) = h(j);
k = k +1 ;
end
end
end

Risposte (0)

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Prodotti

Tag

Richiesto:

il 2 Dic 2022

Community Treasure Hunt

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

Start Hunting!

Translated by