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

📄 wnclass.m

📁 电力系统分析计算程序
💻 M
字号:
function a = WNclass(varargin)% constructor of the class Wind% == Wind ==global Settingsswitch nargin case 0  a.con = [];  a.n = 0;  a.speed = struct('vw',[],'time',[]);  a.vwa = [];  a.vw = [];  a.ws = [];  a.store = [];  a.ncol = 17;  a.format = ['%4d ',repmat('%8.4g ',1,15), '%4d'];  if Settings.matlab, a = class(a,'WNclass'); end case 1  if isa(varargin{1},'WNclass')    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 + -