Thread Subject: How to call s function from m file?

Subject: How to call s function from m file?

From: Chirag Joshi

Date: 6 Oct, 2009 12:34:02

Message: 1 of 3

Hello folks,

I am trying to solve ODE using s function call in M file.

1. I would like to know, if use of s function is going to speed up my code.
2. Whats the correct syntax to call s function from M file.

Thanks in advance,

Chirag Joshi

Subject: How to call s function from m file?

From: Arnaud Miege

Date: 6 Oct, 2009 20:07:18

Message: 2 of 3

"Chirag Joshi" <chirag.joshi@ism.uni-karlsruhe.de> wrote in message <hafdfq$bg4$1@fred.mathworks.com>...
> Hello folks,
>
> I am trying to solve ODE using s function call in M file.
>
> 1. I would like to know, if use of s function is going to speed up my code.
> 2. Whats the correct syntax to call s function from M file.
>
> Thanks in advance,
>
> Chirag Joshi

An s-function is for use within Simulink, not from a MATLAB file.

Arnaud

Subject: How to call s function from m file?

From: Chirag Joshi

Date: 7 Oct, 2009 13:33:02

Message: 3 of 3

"Arnaud Miege" <arnaud.miege@nospam.mathworks.co.uk> wrote in message <hag81m$gi0$1@fred.mathworks.com>...
> "Chirag Joshi" <chirag.joshi@ism.uni-karlsruhe.de> wrote in message <hafdfq$bg4$1@fred.mathworks.com>...
> > Hello folks,
> >
> > I am trying to solve ODE using s function call in M file.
> >
> > 1. I would like to know, if use of s function is going to speed up my code.
> > 2. Whats the correct syntax to call s function from M file.
> >
> > Thanks in advance,
> >
> > Chirag Joshi
>
> An s-function is for use within Simulink, not from a MATLAB file.
>
> Arnaud

Thanks for the feedback .

Regards,
Chirag

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
sfunction Arnaud Miege 6 Oct, 2009 16:09:05
ode Chirag Joshi 6 Oct, 2009 08:39:03
s function Chirag Joshi 6 Oct, 2009 08:39:03
rssFeed for this Thread

Contact us at files@mathworks.com