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

조회 수: 1 (최근 30일)
Mehmet Kivanc Çelik
Mehmet Kivanc Çelik 2013년 12월 25일
편집: Azzi Abdelmalek 2013년 12월 25일
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?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 12월 25일
편집: Azzi Abdelmalek 2013년 12월 25일
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

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by