How could I change initial voltage value of Capacitor of the RLC branch in the M files??

5 views (last 30 days)
%
this picture above shows the RLC branch block, I named it 'Cn'. I could change the capacitance by this code:
%
%
However, when I try to change the capacitor initial value, code is not correct. I could not find the parameter name of the * capacitor initial voltage * . I try many methods of naming.
%
<<
>> %
what is the parameter name for the * CAPACITER INITIAL VOLTAGE * ??

Answers (1)

Junyi Shen
Junyi Shen on 28 Apr 2015
I have the same question? Waiting for response. Thanks
  1 Comment
kai zhang
kai zhang on 28 Apr 2015
Edited: kai zhang on 28 Apr 2015
>
as you can see, you open the basic mask by right click the block_mask_basic mask. then click 'Parameters & Dialog'. Finally, you could see every parameters name.
For example, mine is 'InitialVoltage' for the Capacitor initial voltage.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!