Simulink quesstion with using fnc block
9 次查看(过去 30 天)
显示 更早的评论
Hi I'm pretty new to using simulink and have a quick question about the fcn block. If I wanted to input an equation such as
Vs= Vp./((Zw./(N*ZL))+N)
, would all the variables be replaced with u instead?
0 个评论
采纳的回答
madhan ravi
2019-3-25
function Vs = fcn(Vp,Zw,N,Zl)
7 个评论
madhan ravi
2019-3-25
编辑:madhan ravi
2019-3-25
Exactly, see a simple example below:
In the picture above
5 => u(1)
1 => u(2)
2 => u(3)
black rectangle is the Mux block.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!