⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subsasgn.m

📁 电力系统分析计算程序
💻 M
字号:
function a = subsasgn(a,index,val)switch index(1).type case '.'  switch index(1).subs   case 'con'    if length(index) == 2      a.con(index(2).subs{:}) = val;    else      a.con = val;    end   case 'u'    if length(index) == 2      a.u(index(2).subs{:}) = val;    else      a.u = val;    end   case 'Pr'    if length(index) == 2      a.Pr(index(2).subs{:}) = val;    else      a.Pr = val;    end   case 'bus'    a.bus = val;   case 'n'    a.n = val;   case 'store'    if length(index) == 2      a.store(index(2).subs{:}) = val;    else      a.store = val;    end  endend

⌨️ 快捷键说明

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