Dahl Friction Model

9 vues (au cours des 30 derniers jours)
Questionz
Questionz le 28 Mar 2012
Hello Everyone,
I have found a simulink model for Dahl friction but am having troubles getting it to work. I found this in a paper located at: http://dspace.mit.edu/bitstream/handle/1721.1/32826/57615794.pdf?sequence=1. I have duplicated the simulink model on page 30 of the document and have copied Appendix C into the workspace. If anyone has a solution to get this running and would share it that would be well appreciated.
When I first run it I receive errors for missing variables. I try and correct for these and then get ODE errors:
??? Error using ==> feval Simulink model dahl was called with incorrect number of arguments.
Error in ==> odearguments at 110 f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.
Error in ==> ode45 at 173 [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, odeFcn, ...
Thanks for the help in advance.
  2 commentaires
vit90
vit90 le 28 Nov 2016
Hi Questionz,
Did you solve your problem?
Walter Roberson
Walter Roberson le 28 Nov 2016

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 28 Nov 2016
Rename your model to a name different than dahl as you are using that for your ode function name.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by