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

📄 objectcreate.m

📁 复杂网络的一些节点面对攻击的代码
💻 M
字号:
function Data = ObjectCreate(varargin)
% Creats a standatized object (structure) for data processing
%   
% Receives:
%   varargin        -   FLEX IO -   The input is in FlexIO format.  The following parameters are allowed:
%                                       Parameter Name          |  Type             |  Optional     |   Default Value |   Description
%                                          Type                 |  string           |   no          |          -                       |   The data struct type name 
%                                           Signature           |   string          |   yes         |  'CreateObject' |      Keeps list of the functions which toughed the data
%
% Returns:
%   Data           -    struct     -    The fixed-format struct which contains the data
%                                   
%
% See Also:
%   
% Example:
%   Data = ObjectCreate('Type','Raw');
%   
% Created:   
%   Lev Muchnik    13/11/2003

error(nargchk(1,inf,nargin));
error(nargoutchk(0,1,nargout));

if ~FIOProcessInputParameters(varargin,GetDefaultInput)
    error('The function input is not FlexIO compatible');
end

Data = [];
Data.Type = Type;
Data = ObjectAddSignature(Data,Signature);


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function DefaultInput  = GetDefaultInput
DefaultInput = {};

DefaultInput    =   FIOAddParameter(DefaultInput,'Type','Undefined'); 
DefaultInput    =   FIOAddParameter(DefaultInput,'Signature',mfilename);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

⌨️ 快捷键说明

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