Borrar filtros
Borrar filtros

Simulink quesstion with using fnc block

6 visualizaciones (últimos 30 días)
Light
Light el 25 de Mzo. de 2019
Editada: madhan ravi el 26 de Mzo. de 2019
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?

Respuesta aceptada

madhan ravi
madhan ravi el 25 de Mzo. de 2019
function Vs = fcn(Vp,Zw,N,Zl)
  7 comentarios
madhan ravi
madhan ravi el 25 de Mzo. de 2019
Editada: madhan ravi el 25 de Mzo. de 2019
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.
Light
Light el 26 de Mzo. de 2019
Editada: madhan ravi el 26 de Mzo. de 2019
Okay, that was all I wanted to make sure, thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by