From: Marc Compere on 21 Jun 2005 00:31 Benje. Marchand, Hmm, don't think so. I think drop-down ode solver choices are selections for c-based code compiled into the simulink executable or, in the case of an 'accelerated' or Real-Time Workshop simulation, the code is incorporated into the executable for your particular model. The only way I can think of getting your own higher order solver to work with a Simulink model is exporting your model to c source with RTW and then making and linking against your own ode8.c (similar to the ode3.c or ode4.c or ode5.c). Without RTW I don't think you can do what you're looking to do. (If you find out otherwise let me know) Marc Benje. Marchand wrote: > > > Hi, > > I've developed a model in Simulink and I'm using the fixed-step > ode5(Dormand-Prince) routine for simulations. I've implemented a > higher order routine (similar to rk8fixed) and I'd like to know > whether it's possible to link this m-file routine to the drop-down > menu "Simulation Parameters" in Simulink? > (I was thinking that Perhaps if I put my upgraded routine back into > > the Matlab directory, Simulink would automatically see it) > > Thanks for your help
First
|
Prev
|
Pages: 1 2 Prev: adult Next: Install problem: error while loading shared libraries: libXp.so.6 |