Electric domain simulation with Simulink

1 vue (au cours des 30 derniers jours)
Ethelbert Ezemobi
Ethelbert Ezemobi le 3 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?

Réponses (1)

Aman Vyas
Aman Vyas le 6 Nov 2020
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 !

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by