hi. I simulated impedance control for ur10.but there is an error:
Error in default port dimensions function of S-function 'impedance2/impedance controller'. This function does not fully set the dimensions of output port 2
I guess it the problem is with x signal. x is 1 if this is wrong. the signal should be 6,1 in ur10forwardkinematic block. I don't know where is output port2 exactly and how can I fix this problem? The Simulink file is attached.