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

%
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)

I have the same question? Waiting for response. Thanks

1 Comment

>
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.

Asked:

on 23 Apr 2015

Edited:

on 28 Apr 2015

Community Treasure Hunt

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

Start Hunting!