your mask parameter is not properly handled in this way....
please use:
q = twolink.ikine(T, [0 0], 'mask',[1 1 0 0 0 0])
This could be found quite easily by using:
help seriallink.ikine
OR
use the Matlab debugger next time you run into an error like this... You would have found that ikine() was using the default mask of [ 1 1 1 1 1 1 ].
Erik
Op woensdag 26 juli 2017 23:39:55 UTC+2 schreef javid rabbani: