Electric domain simulation with Simulink

1 view (last 30 days)
Ethelbert Ezemobi
Ethelbert Ezemobi on 3 Nov 2020
Answered: Aman Vyas on 6 Nov 2020
Dear all. I am a not a frequent user of the Simulink Electric domain. I have an issue with simulation a simple model which I have attached here. Could someone help me figure it out?

Answers (1)

Aman Vyas
Aman Vyas on 6 Nov 2020
I simulated the model attached by you and it showed me four error that variables R1, R2, C1 and C2 are unrecognized variables. You can try fixing this error by either of the following methods:
a) Load the valueof four variables in base workspace in the command window directly.
I loaded value then and there and it worked fine, or else
b) In general you can make a file where you can define all the variables and then you can load that file before launching the simulation.
Both of these methods should work fine. For more information you can refer to the following document page:
Hope it helps !

Community Treasure Hunt

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

Start Hunting!