Your code (excluding the file-parameter) generates the following output:
matlabFunction([s*(y-x);-x*z+r*x-y; x*y-b*z],'vars',{t,[x;y;z],[s;r;b]})
ans =
@(t,in2,in3)[-in3(1,:).*(in2(1,:)-in2(2,:));-in2(2,:)+in3(2,:).*in2(1,:)-in2(1,:).*in2(3,:);-in3(3,:).*in2(3,:)+in2(1,:).*in2(2,:)]
The cell {t,[x;y;z],[s;r;b]}defines what is the first input argument to the function t. The second input argument in2is a three-element vector containing [x;y;z], and the third input argument in3 is a three-element vector containing[s;r;b]
, :
matlabFunction([s*(y-x);-x*z+r*x-y; x*y-b*z],'vars',{t,x,y,z,s,r,b})
ans =
@(t,x,y,z,s,r,b)[-s.*(x-y);-y+r.*x-x.*z;-b.*z+x.*y]