API referenceState-space modelssimOn this pagesimSimulate a jSS model over one sample step. Syntax [x,y] = sim(jSSobj,x,u) Description [x,y] = sim(jSSobj,x,u) simulates the jSS object over one sample step, using the initial states x, and the model input, u.