Feedback linearization for a two link planar manipulator in simscape

1 view (last 30 days)
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
Suhan
Suhan on 22 Feb 2018
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 Physical Units in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!