Error while implementing CoordinateCouplerConstraint in Matlab
Posted: Mon Sep 13, 2021 1:00 am
While implementing setIndependentCoordinateName() in Matlab, I am encountered with some errors, mainly due to the error in format of implementation.
Code Snipet:
------
tri = CoordinateCouplerConstraint();
tri.setDependentCoordinateName('knee_angle_r');
tri.setIndependentCoordinateNames('shk_r');
Error:
No method 'setIndependentCoordinateName' with method signature found for class '.org.opensim.modeling.CoordinateCouplerConstraint'.
How to solve the no matching signature error due to incorrect input? What will be the correct input? Can you give an example? Thank you.
Code Snipet:
------
tri = CoordinateCouplerConstraint();
tri.setDependentCoordinateName('knee_angle_r');
tri.setIndependentCoordinateNames('shk_r');
Error:
No method 'setIndependentCoordinateName' with method signature found for class '.org.opensim.modeling.CoordinateCouplerConstraint'.
How to solve the no matching signature error due to incorrect input? What will be the correct input? Can you give an example? Thank you.