Dahl Friction Model

6 views (last 30 days)
Questionz
Questionz on 28 Mar 2012
Answered: Walter Roberson on 28 Nov 2016
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 Comments
vit90
vit90 on 28 Nov 2016
Hi Questionz,
Did you solve your problem?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 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!