When I run the code from example, I am receiving this error
Error using setupArm
Too many input arguments.
Error in ex_gravity_compensation (line 25)
[ arm, params ] = setupArm( armName, armFamily, hasGasSpring );
Is it possible that you have local modifications? Can you try checking out another (clean) copy of the examples repo and try it again?