t = ans.simX.Time;
u1 = ans.simU.Data(:,1);
u2 = ans.simU.Data(:,2);
u3 = ans.simU.Data(:,3);
u4 = ans.simU.Data(:,4);
u5 = ans.simU.Data(:,5);
x1 = ans.simX.Data(:,1);
x2 = ans.simX.Data(:,2);
x3 = ans.simX.Data(:,3);
x4 = ans.simX.Data(:,4);
x5 = ans.simX.Data(:,5);
x6 = ans.simX.Data(:,6);
Solved the issue for anyone who may be having the same trouble. After running the model it is saved as ans in the workbench so i modified the code accordingly. Probably a novice mistake but I am told the code has changed in the previous version or two so the tutorial I was following had me stumped. Anyhow, it works.