?? bpsk_modulation.mdl
字號(hào):
sggui_pos "487,125,425,383"
block_type "gatewayin"
sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd"
sg_mask_display "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18 22 28 3"
"0 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 20 15 20"
" 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 22 22 0 0"
" ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: begin"
" icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In "
"','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C"
"OMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above this lin"
"e -- machine generated code. ');\n"
}
Block {
BlockType Reference
Name "Gateway In2"
Ports [1, 1]
Position [180, 214, 235, 236]
ForegroundColor "[0.250980, 0.000000, 0.000000]"
SourceBlock "xbsIndex_r4/Gateway In"
SourceType "Xilinx Gateway In Block"
infoedit "Gateway in block. Converts inputs of type Simu"
"link integer, double and fixed point to Xilinx fixed point type.<P><P>Hardwa"
"re notes: In hardware these blocks become top level input ports."
arith_type "Signed (2's comp)"
n_bits "10"
bin_pt "9"
period "1"
dbl_ovrd off
timing_constraint "None"
locs_specified off
LOCs "{}"
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
block_version "VER_STRING_GOES_HERE"
has_advanced_control "0"
sggui_pos "362,211,425,354"
block_type "gatewayin"
sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd"
sg_mask_display "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18 22 28 3"
"0 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 20 15 20"
" 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 22 22 0 0"
" ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: begin"
" icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In "
"','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C"
"OMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above this lin"
"e -- machine generated code. ');\n"
}
Block {
BlockType Reference
Name "Gateway Out"
Ports [1, 1]
Position [410, 124, 465, 146]
ForegroundColor "[0.250980, 0.000000, 0.000000]"
SourceBlock "xbsIndex_r4/Gateway Out"
SourceType "Xilinx Gateway Out Block"
infoedit "Gateway out block. Converts Xilinx fixed point"
" inputs into ouputs of type Simulink integer, double, or fixed point.<P><P>Ha"
"rdware notes: In hardware these blocks become top level output ports or are "
"discarded, depending on how they are configured."
hdl_port on
timing_constraint "None"
locs_specified off
LOCs "{}"
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
block_version "VER_STRING_GOES_HERE"
has_advanced_control "0"
sggui_pos "292,148,426,384"
block_type "gatewayout"
sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300"
sg_mask_display "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18 22 28 3"
"0 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 20 15 20"
" 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 22 22 0 0"
" ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: begin"
" icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('black');por"
"t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','"
"COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above this li"
"ne -- machine generated code. ');\n"
}
Block {
BlockType Reference
Name "MCode"
Ports [3, 1]
Position [265, 105, 390, 165]
SourceBlock "xbsIndex_r4/MCode"
SourceType "Xilinx MCode block Block"
infoedit "Pass input values to a MATLAB function for eval"
"uation in Xilinx fixed-point type. The input ports of the block are input arg"
"uments of the function. The output ports of the block are output arguments of"
" the function."
mfname "abcmultiple"
explicit_period on
period "1"
dbl_ovrd off
enable_debug off
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
block_version "8.1"
has_advanced_control "0"
sggui_pos "303,131,425,337"
block_type "mcode"
sg_icon_stat "125,60,3,1,white,blue,0,5ef6ec34"
sg_mask_display "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 125 125 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([47 37 51 37 47 63"
" 67 71 88 75 62 53 68 53 62 75 88 71 67 63 47 ],[6 16 30 44 54 54 50 54 54 41"
" 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 125 125 0 ],[0 6"
"0 60 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN"
"T: begin icon text ');\ncolor('black');port_label('input',1,'x1');\ncolor('bl"
"ack');port_label('input',2,'x2');\ncolor('black');port_label('input',3,'x3');"
"\ncolor('black');port_label('output',1,'y');\ncolor('black');disp('\\bf{abcmu"
"ltiple}','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
suppress_output "1"
defparams "{}"
hide_port_list "{}"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [90, 98, 135, 132]
Period "1000"
PulseWidth "500"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [570, 14, 615, 176]
Location [208, 94, 648, 391]
Open off
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Pulse Generator"
axes2 "BPSK"
}
YMin "-1~-2"
YMax "2~2"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "cos(wt)"
Ports [0, 1]
Position [90, 175, 120, 205]
SineType "Sample based"
Samples "100"
Offset "25"
SampleTime "1"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Gateway In"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "cos(wt)"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Gateway In1"
DstPort 1
}
Line {
SrcBlock "-cos(wt)"
SrcPort 1
Points [35, 0; 0, -40]
DstBlock "Gateway In2"
DstPort 1
}
Line {
SrcBlock "MCode"
SrcPort 1
DstBlock "Gateway Out"
DstPort 1
}
Line {
SrcBlock "Gateway In"
SrcPort 1
DstBlock "MCode"
DstPort 1
}
Line {
SrcBlock "Gateway In1"
SrcPort 1
Points [5, 0; 0, -25]
DstBlock "MCode"
DstPort 2
}
Line {
SrcBlock "Gateway In2"
SrcPort 1
Points [10, 0]
DstBlock "MCode"
DstPort 3
}
Line {
SrcBlock "Gateway Out"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . *!, 8 ( @ % "
"\" $ ! 0 % 0 !@ $ , <V%V960 =V]R:P X !H"
"\"0 !@ @ \" 4 ( 0 $ ! 4 ! , 0 !@"
" !S:&%R960 !C;VUP:6QA=&EO;@ . T , 8 ( @ % \" "
" $ ! 0 % 0 $P $ \"8 8V]M<&EL871I;VX &-O;7!"
"I;&%T:6]N7VQU= !S:6UU;&EN:U]P97)I;V0 :6YC<E]N971L:7-T '1R:6U?"
"=F)I=', !D8FQ?;W9R9 9&5P<F5C871E9%]C;VYT<F]L &)L;V-K7"
"VEC;VY?9&ES<&QA>0 . . 8 ( ! % \" $ ' 0 "
" 0 !P '1A<F=E=#$ #@ # ! & \" ( !0 @ ! "
"0 $ !0 $ < ! #@ &ME>7, !V86QU97, . < 8 ( "
" 0 % \" $ ! 0 . 0 8 ( ! "
" % \" $ + 0 0 \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:6]D 8V]R95"
"]G96YE<F%T:6]N ')U;E]C;W)E9V5N !E=F%L7V9I96QD 8VQO8VM"
"?;&]C '-Y;G1H97-I<U]L86YG=6%G90!C95]C;'( <')E<V5R"
"=F5?:&EE<F%R8VAY X X !@ @ $ 4 ( 0 < ! "
" ! ' 5FER=&5X- . . 8 ( ! % \" $ "
" ( 0 0 \" 'AC-'9S>#,U#@ # & \" 0 !0 "
" @ ! P $ $ # \"TQ, . . 8 ( ! % "
"\" $ % 0 0 !0 &9F-C8X #@ # & \" 0 "
" !0 @ ! P $ $ # %A35 . 0 8 ( ! "
" % \" $ ) 0 0 \"0 \"XO;F5T;&ES= . , "
" 8 ( ! % \" $ # 0 0 , ;V9F X P "
" !@ @ $ 4 ( 0 ( ! ! @ Q, #@ $@ "
"& \" 0 !0 @ ! & $ $ !@ !!8V-O<F1I;F<"
"@=&\\@0FQO8VL@36%S:W,. , 8 ( ! % \" $ # 0"
" 0 , ;V9F X P !@ @ $ 4 ( 0 $ ! "
" ! 0 P #@ # & \" 0 !0 @ $ "
" $ . , 8 ( ! % \" $ $ 0 "
" 0 0 5DA$3 X X !@ @ & 4 ( 0 $ ! "
" D ( . . 8 ( !@ % \" $ ! "
" 0 ) \" "
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -