Tags: delta, deltat1, direct, directfunction, file, function, matlab, mdloutputs, programming, s-function, simulink, sys

using of delta direct function in simulink

On Programmer » Matlab

489 words with 0 Comments; publish: Tue, 06 May 2008 16:50:00 GMT; (20078.13, « »)

I have a M file S-function in simulink that using delta direct

function.

function sys = mdlOutputs(t,x,u)

deltaT1='(delta direct function)

b1=.02 ;

ng1=62.61;

jm1=0.002;

jl1=4.2;

fm1=0.05;

dThetal1=u(1);

dThetam1=u(2);

sys=(jm1*jl1)*(dThetam1/ng1-dThetal1)*deltaT1/(jm1+jl1/(ng1*ng1));

I dont know how should I using it in the S-function and too, true

value it in the during simulation?

Would appreciate any help,

saeed

All Comments

Leave a comment...

  • 0 Comments