subsref.m
来自「基于PSAT 软件的多目标最优潮流计算用于中小型电力系统的分析和管理」· M 代码 · 共 30 行
M
30 行
function b = subsref(a,index)switch index(1).type case '.' switch index(1).subs case 'con' if length(index) == 2 b = a.con(index(2).subs{:}); else b = a.con; end case 'bus' b = a.bus; case 'n' b = a.n; case 'pod' b = a.pod; case 'cluster' b = a.cluster; case 'Be' b = a.Be; case 'bcv' b = a.bcv; case 'vm' b = a.vm; case 'alpha' b = a.alpha; endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?