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 14:37:02 +0000 (UTC)
Organization: ttz-Bremerhaven
Lines: 35
Message-ID: <g6klie$hrb$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> <g6ki01$mle$1@fred.mathworks.com>
Reply-To: "Matthew Wade" <cosmicspacepig@googlemail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217255822 18283 172.30.248.35 (28 Jul 2008 14:37:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 28 Jul 2008 14:37:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1052756
Xref: news.mathworks.com comp.soft-sys.matlab:482219



the -S option with a solveroptions.mat file does not seem 
to do anything, even when I save solveroptions.mat with 
nonsense parameters (e.g. solver 'null'). Running the 
executable does not seem to take these options into 
consideration - the output is still the same.

"Matthew Wade" <cosmicspacepig@googlemail.com> wrote in 
message <g6ki01$mle$1@fred.mathworks.com>...
> 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 
> > 
> > 
>