image filtering in simulink?

2 Ansichten (letzte 30 Tage)
Chandrajit Pal
Chandrajit Pal am 19 Jul. 2012
sir, Regarding the image filtering in sysgen using 5x5 filtering block I need to do iteration, i.e for example in matlab code I have
k=0;
M=10
for k : M
img1=cos(k*img);
imfilter(img1, filtter_kernel) ;
end
-----------------------------------------------------------
so that means I have to perform the image filtering 11 times at a single go, as is very clear from the code above while mapping it in SYSGEN simulink model.I have designed it in simulink model but I need to execute the model 11 times as it is very clear from the code. Is it possible ?? I have tried but only one simulation is executing but the rest 10 times is not becoming possible..is there any wayout....

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by