How can I use matlab function ss() within C#?

Dec 12 2013 6:06 AM

Asking me to do modeling physical phenomenon then programmed in C#, but the equations that describe the phenomenon is the differential equations of the second degree, and are resolved to programming using the method state Space Matrix and will be resolved this way with MATLAB and using of SS () function, which solves the equations But the problem is how do I use MATLAB in C# and most importantly access to function SS (), which resolves the wholesale and most importantly because of the descent takes four matrices given matrix containing the answers and I want access to this matrix in C# is that interest me .

using of ss

http://www.swarthmore.edu/NatSci/echeeve1/Class/e12/dl/html/MatlabForSS.html#13


About ss() matalb function :

Syntax :

sys = ss(a,b,c,d)

Description ss is used to create real- or complex-valued, state-space models (SS objects) or to convert transfer function or zero-pole-gain models to state space. Creation of State-Space Models sys = ss(a,b,c,d) creates a SS object representing the continuous-time state-space model