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

📄 ssclass.m

📁 电力系统分析计算程序
💻 M
字号:
function a = SSclass(varargin)% constructor of the class SSSC% == SSSC ==global Settingsswitch nargin case 0  a.con = [];  a.n = 0;  a.bus1 = [];  a.bus2 = [];  a.v1 = [];  a.v2 = [];  a.line = [];  a.vcs = [];  a.vpi = [];  a.store = [];  a.xcs = [];  a.Cp = [];  a.v0 = [];  a.pref = [];  a.V0 = [];  a.Pref = [];  a.y = [];  a.u = [];  a.ncol = 13;  a.format = ['%4d %4d ',repmat('%8.4g ',1,7),'%4d %8.4g %8.4g %2u'];  if Settings.matlab, a = class(a,'SSclass'); end case 1  if isa(varargin{1},'SSclass')    a = varargin{1};  else    error('Wrong argument type')  end otherwise  error('Wrong Number of input arguments')end

⌨️ 快捷键说明

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