Path: news.mathworks.com!not-for-mail
From: "Matthew Wade" <cosmicspacepig@googlemail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Integrating compiled m-file with compiled simulink (RTW?) model
Date: Mon, 28 Jul 2008 13:36:01 +0000 (UTC)
Organization: ttz-Bremerhaven
Lines: 25
Message-ID: <g6ki01$mle$1@fred.mathworks.com>
References: <g4vq6l$8lr$1@fred.mathworks.com> <g4vr3r$m3j$1@fred.mathworks.com> <g4vsna$d95$1@fred.mathworks.com> <g6kghq$4he$1@fred.mathworks.com> <g6kgsh$8dm$1@fred.mathworks.com>
Reply-To: "Matthew Wade" <cosmicspacepig@googlemail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217252161 23214 172.30.248.38 (28 Jul 2008 13:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 28 Jul 2008 13:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1052756
Xref: news.mathworks.com comp.soft-sys.matlab:482206



Hi Titus,

The model will not run with a fixed-step solver from 
Simulink, I have to use Variable-step.

I have noticed -S option to allow specification of Solver 
type, parameters. Maybe this will work.

Cheers
Matt

> Hi Matt,
> 
> w.r.t. 2): this might correspond to you using the fixed 
step solver for the 
> compiled application and the variable step solver (with 
e.g. Zero-Crossing 
> detection) in the Simulink program. Try to use the fixed 
step solver in 
> Simulink and see, if you get the same results/problems.
> 
> Titus 
> 
>