Increment output display store one by one in simulink model
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!