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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simscape Multibody Link 的更多信息

评论:

2018-2-22

Community Treasure Hunt

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

Start Hunting!

Translated by