Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
simulink s-function directfeedthrough

Subject: simulink s-function directfeedthrough

From: Eric

Date: 19 May, 2008 13:48:02

Message: 1 of 1


I wrote a s-function (M, Level 2) which has one input and
two output ports. The first output port depends "directly"
of the input, but the second doesn't.

The signal of the second output is feed directly (over a
simple gain) to the input of the system.

As the only possibility I know to tell Simulink that there
is a directfeedthrough within the s-function is to set the
directfeedthrough-property of the input port
('block.InputPort(1).DirectFeedthrough') to 'true', there's
always thrown a warning for an algebraic loop.

Is there a possibility to tell Simulink that there exists a
directfeedthrough only between the input and the first
output, but not the second output?



Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us