Can i use the gain block just like a function block?

1 Ansicht (letzte 30 Tage)
Mehmet Kivanc Çelik
Mehmet Kivanc Çelik am 25 Dez. 2013
Bearbeitet: Azzi Abdelmalek am 25 Dez. 2013
I want to implement a code (u(1)./K)*tau.^(u(2)) in gain block? Is it possible? I do not want to use fcn block because it generates nx1 matrix because of sampling. I just want to use a single variable to be used in workspace? Is it possible with gain block?

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 25 Dez. 2013
Bearbeitet: Azzi Abdelmalek am 25 Dez. 2013
You can't use a gain block as a function block, and what is the problem with generating an output for each sample, just pick the last one

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by