statement in test assessment block
显示 更早的评论
how can i verify output (multiple statements)w.r.t time in test assessment block , for example-(if t==1 ,verify (out== 1 ) ) (if t==2,verify (out== 2) )........(if t==8 ,verify (out== 8 ) ) can we use any loops in test assement block in simulink test ?
for t=1:8
if t==i
verify(out==i)
end
this for loop showing error.
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Inputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!