Dahl Friction Model

6 visualizaciones (últimos 30 días)
Questionz
Questionz el 28 de Mzo. de 2012
Respondida: Walter Roberson el 28 de Nov. de 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 comentarios
vit90
vit90 el 28 de Nov. de 2016
Hi Questionz,
Did you solve your problem?
Walter Roberson
Walter Roberson el 28 de Nov. de 2016

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by