Feedback linearization for a two link planar manipulator in simscape

Hello, I'm trying to implement feedback linearization for a two link planar manipulator in simscape. I calculated the necessary torque to apply for the two joints using the RNE block, but it doesn't works. I have this messagge erros : n = 2 An error occurred while running the simulation and the simulation was terminated Caused by: Error in 'simscape_link_3/RNE/MATLAB Fcn'. Evaluation of expression resulted in an invalid output. Only finite double vector or matrix outputs are supported

1 Comment

Could you share your model here so that we can reproduce the issue? Looks like the return value of MATLAB Function block is not supported by the subsequent block

Sign in to comment.

Answers (0)

Categories

Find more on Simscape Multibody Link in Help Center and File Exchange

Asked:

on 8 Feb 2018

Commented:

on 22 Feb 2018

Community Treasure Hunt

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

Start Hunting!