MATLAB Answers

Electric domain simulation with Simulink

조회 수: 1(최근 30일)
Ethelbert Ezemobi
Ethelbert Ezemobi 2020년 11월 3일
답변: Aman Vyas 2020년 11월 6일
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?

답변(1개)

Aman Vyas
Aman Vyas 2020년 11월 6일
Hi,
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!

Translated by