I am currently working on Simulink/Matlab code the idea is to remove some Simulink blocks that annoy our developing team. We are fighting with State-Space Model. The configuration of mentioned block is presented as follows:
Our question is: Is there any way to rewrite this using pure Matlab scripts functions? We were trying some approaches with idss
and ss
models but so far we failed. We are not Matlab experts. This is the pseudo-code that we with will solve the problem, but we are not an experts in maths.
ss(A, B, C, D);
[y, t, x] = initial(tmp, x0);