フィルターのクリア

Unable to initialise capacitor voltage

2 ビュー (過去 30 日間)
Charanraj
Charanraj 2019 年 12 月 10 日
回答済み: Sabin 2023 年 1 月 9 日
Hello,
I have a very simple circuit taken from simscape library in simulink. My circuit is made of a definite gain opamp, a capacitor, an input resistor and a load reistor. It is basically a very simple integrator (I even tried just an opamp). I am running them in discrete variable (also tried discrete fixed-step). I want to initialize capacitor votlage and other things to start from zero). So, i clicked power gui->tools->Initial state. I get the error as attached in the picture. I thought this as a bug in MATLAB2018a and read in some forums that the previous version works. Hence I tried in versions- 2015a, 2013a. But I observed the same error.
On trying to get details from command windows, I get the following-
Attempt to reference field of non-structure array.
Error in power_initstates_pr>EvaluateTheModel (line 640)
Error in power_initstates_pr>UpdateButton_Callback (line 494)
Error in power_initstates_pr (line 48)
Error in power_initstates (line 24)
power_initstates_pr(varargin{:});
Error while evaluating UIControl Callback
Also attached the screenshot of the error message I get. Can anybody help me with this error ?
Thanks
Capture.JPG

回答 (1 件)

Sabin
Sabin 2023 年 1 月 9 日
The model is implemented in Simscape technology. Therefore, there is no need to include a powergui block.

カテゴリ

Help Center および File ExchangeConverters (Low Power) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by