Electric domain simulation with Simulink

1 visualización (últimos 30 días)
Ethelbert Ezemobi
Ethelbert Ezemobi el 3 de Nov. de 2020
Respondida: Aman Vyas el 6 de Nov. de 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?

Respuestas (1)

Aman Vyas
Aman Vyas el 6 de Nov. de 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 !

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by