Thread Subject: How to change a parameters of S function while I'm doing simulation

Subject: How to change a parameters of S function while I'm doing simulation

From: Hong

Date: 25 Apr, 2008 21:28:01

Message: 1 of 2

Hey,

I have a tough challenge here.

It is necessary to change "S-function parameters" of a S-
function block in every time step of simulation. In other
words, the value of 's-function parameters' may be
different and how can I make it happen?


Thanks in advance,
Hong

Subject: How to change a parameters of S function while I'm doing simulation

From: Shankar Akella

Date: 26 Apr, 2008 04:48:01

Message: 2 of 2

"Hong " <honghaot@gmail.com> wrote in message
<futid1$ma7$1@fred.mathworks.com>...
> Hey,
>
> I have a tough challenge here.
>
> It is necessary to change "S-function parameters" of a S-
> function block in every time step of simulation. In other
> words, the value of 's-function parameters' may be
> different and how can I make it happen?
>
>
> Thanks in advance,
> Hong

If the "S function parameters" are changing at every time
step then you can make them as input signals to the
s-function instead of passing them as parameters.

Hope this helps

Regards

Shankar

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
s function simu... Hong 25 Apr, 2008 17:30:08
rssFeed for this Thread

Contact us at files@mathworks.com