Solved
ODESOLVE: Access to differential of state variable
- May 18, 2015
- 4 replies
- 2015 views
Hello,
I am using the ODESOLVE to simulate an RLC circuit. My states are my inductor current IL and capacitor voltage VC.
I setup equations to solve for d(IL)/dt, and d(VC)/dt, and used ODESOLVE to get the values. I now need access to the original differential variables....I need access to d(IL)/dt to get my inductor current. Any ideas on how to? In MATLAB I could setup a global variable, but I am unable to define variables that use my states in the solver block.
Screenshot of odesolver attached, I need access to IL(t)'

