Help! How can I implement the variable RLC circuit?

Hi,
I want to implement an electric circuit on Simulink. Inside the circuit, it includes the variable resistor, R, and variable capacitor, C. In other words, the R and C will change with another variable, X, which will change with times on Simulink. For example, R = 0.1*X + 0.2, X = 1*t (t is the samples on Simulink).
I tried Parallel RLC Branch (mask). It allow me to write an equation with no Simulation error, but it will not automatically capture the change of variable X. Rather, it use the last value of X.
Which Simulink block should I use? Or, did I do something wrong when implementing Parallel RLC Branch?
Sincerely, C.S. Huang

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by