block.m

来自「电力系统分析计算程序」· M 代码 · 共 12 行

M
12 行
字号
function [enables,prompts] = block(a,object,values,enables,prompts)type = values{4};switch type case 'on'  prompts{2} = 'Percentage of resistance, active current and active power [%, %, %]';  prompts{3} = 'Percentage of reactance, reactive current and reactive power [%, %, %]'; case 'off'  prompts{2} = 'Resistance, active current and active power [p.u., p.u., p.u.]';  prompts{3} = 'Reactance, reactive current and reactive power [p.u., p.u., p.u.]';end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?