As the title suggests I've created a state space controller. I've tried to get this state space matrix into labview but i can't seem to get it to work. I've used the math script function and pasted the code and it has worked and shown the step response ive seen in matlab.
I tried using one example "SimEx statespace.vi" and reworking it with my figures but kept getting a error of "the dimensions of the parameter vectors of this function do not match". Basically the idea is to build an inverted pendulum and have a signal from an encoder as an input and have the proportionate output to a stepper motor depending on its angle.
While using mathscipt works to show the step input im unsure if its appropriate for this purpose.