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

5 次查看(过去 30 天)
%
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 * ??

回答(1 个)

Junyi Shen
Junyi Shen 2015-4-28
I have the same question? Waiting for response. Thanks
  1 个评论
kai zhang
kai zhang 2015-4-28
编辑:kai zhang 2015-4-28
>
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by