Electric domain simulation with Simulink

2 次查看(过去 30 天)
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 !

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by