I am following a course on designing a TR3 Manipulator in SolidWorks
, exporting an XML file
via Solidworks which can be imported via MATLAB into Simscape Multibody
and then trying to create a control system for it.
Unfortunately,Simscape
has changed over the years and the joint actuator block in Simscape is no longer present.
At this point please look at the 2 pictures(1st one - course , 2nd one - my implementation)
I have tried to connect the multiplexer directly to the revolute joint.Unfortunately, I get the following error
Error in port widths or dimensions. Output port 1 of 'TR3RobotExport/Mux' is a one dimensional vector with 3 elements.
Component:Simulink | Category:Model error
Error in port widths or dimensions. Input port 1 of 'TR3RobotExport/Simulink-PS Converter' is a one dimensional vector with 1 elements.