-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMultiport_Switch.m
More file actions
54 lines (46 loc) · 1.44 KB
/
Multiport_Switch.m
File metadata and controls
54 lines (46 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
function Multiport_Switch()
% This is a generated function based on subsystem:
% dsp_scope_xblock_models/Multiport Switch
% Though there are limitations about the generated script,
% the main purpose of this utility is to make learning
% Sysgen Script easier.
%
% To test it, run the following commands from MATLAB console:
% cfg.source = str2func('Multiport_Switch');
% cfg.toplevel = sprintf('dsp_scope_xblock_models/Multiport\nSwitch');
% args = {};
% xBlock(cfg, args);
%
% You can edit Multiport_Switch.m to debug your script.
%
% You can also replace the MaskInitialization code with the
% following commands so the subsystem will be generated
% according to the values of mask parameters.
% cfg.source = str2func('Multiport_Switch');
% cfg.toplevel = gcb;
% args = {};
% xBlock(cfg, args);
%
% To configure the xBlock call in debug mode, in which mode,
% autolayout will be performed every time a block is added,
% run the following commands:
% cfg.source = str2func('Multiport_Switch');
% cfg.toplevel = gcb;
% cfg.debug = 1;
% args = {};
% xBlock(cfg, args);
%
% To make the xBlock smart so it won't re-generate the
% subsystem if neither the arguments nor the scripts are
% changes, use as the following:
% cfg.source = str2func('Multiport_Switch');
% cfg.toplevel = gcb;
% cfg.depend = {'Multiport_Switch'};
% args = {};
% xBlock(cfg, args);
%
% See also xBlock, xInport, xOutport, xSignal, xlsub2script.
%% inports
%% outports
%% diagram
end