Want to Create a Simulink Model for Factorial program

I am trying to convert Factorial program into a Simulink Model, but the For loop iteration is not working as per required due to some missing point. Please help me out to make the model for factorial.

2 个评论

How are you implementing the For loop?
Could you attach the file on which you are working
I completed this and closing this.

请先登录,再进行评论。

回答(1 个)

in the input "1" use the block "Digital Clock" and in f(k+1) use "display"

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品

版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by