📄 s1c.mdl
字号:
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Sin
Name "v1"
Position [25, 165, 60, 195]
Amplitude "Vpk"
Frequency "wb"
Phase "0*pi/2"
SampleTime "-1"
}
Block {
BlockType Outport
Name "Out_psi1"
Position [740, 100, 760, 120]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_psim"
Position [750, 245, 770, 265]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_i1"
Position [665, 160, 685, 180]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_i2'"
Position [645, 365, 665, 385]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Look-Up\nTable"
SrcPort 1
DstBlock "Memory"
DstPort 1
}
Line {
SrcBlock "Memory"
SrcPort 1
Points [-90, 0; 0, -30]
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Mux5"
SrcPort 1
Points [0, -20; 5, 0]
Branch {
DstBlock "To Workspace"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Fcn5"
SrcPort 1
Points [0, 0]
Branch {
Points [25, 0; 0, 20]
DstBlock "Load Module"
DstPort 1
}
Branch {
Points [25, 0; 0, -25; 95, 0; 0, -255]
DstBlock "Mux5"
DstPort 6
}
Branch {
DstBlock "Out_i2'"
DstPort 1
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
Points [0, 0]
Branch {
Points [40, 0; 0, -70; -85, 0]
DstBlock "Mux5"
DstPort 5
}
Branch {
DstBlock "Out_i1"
DstPort 1
}
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "v1"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, -75; 165, 0]
DstBlock "Mux5"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn5"
DstPort 1
}
Line {
SrcBlock "psi2'_"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [25, 0; 0, -105]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [25, 0; 0, -50; -305, 0; 0, 25]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Load Module"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 35; -695, 0; 0, -70]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 35; -695, 0; 0, -315; 255, 0]
DstBlock "Mux5"
DstPort 3
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 50]
DstBlock "Look-Up\nTable"
DstPort 1
}
Branch {
Points [50, 0; 0, -150; -250, 0]
DstBlock "Mux5"
DstPort 4
}
Branch {
Points [50, 0; 0, 165; -285, 0; 0, -35]
DstBlock "Mux2"
DstPort 2
}
Branch {
DstBlock "Out_psim"
DstPort 1
}
Branch {
Points [50, 0; 0, -135; -595, 0; 0, 30]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [50, 0; 0, 165; -600, 0; 0, -35]
DstBlock "Mux1"
DstPort 3
}
Branch {
Points [50, 0; 0, -45; -270, 0; 0, -30]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "psi1_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 55; -305, 0; 0, -25]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [35, 0; 0, -70]
DstBlock "Out_psi1"
DstPort 1
}
Branch {
Points [35, 0; 0, -25]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [35, 0; 0, 55]
DstBlock "Mux3"
DstPort 1
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psi2'_"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psi1_"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Annotation {
Position [392, 467]
VerticalAlignment top
Text " Double click masked block FFT to run fftplot.m "
"and provide the input requested in the MATLAB "
"command \nwindow to obtain the time and frequenc"
"y plots."
}
Annotation {
Position [392, 435]
VerticalAlignment top
Text "Double click the masked block m1 or run m1.m "
"in MATLAB command window to initialize this "
"simulation.\nType return after the K>> prompt "
"in the MATLAB command window to plot simulated "
"results. "
}
Annotation {
Position [602, 359]
VerticalAlignment top
Text "i2'"
}
Annotation {
Position [72, 357]
VerticalAlignment top
Text "v2p"
}
Annotation {
Position [477, 294]
VerticalAlignment top
Text "Dpsi"
}
Annotation {
Position [667, 237]
VerticalAlignment top
Text "psim"
}
Annotation {
Position [387, 343]
VerticalAlignment top
Text "psi2'"
}
Annotation {
Position [382, 162]
VerticalAlignment top
Text "psi1"
}
Annotation {
Position [602, 157]
VerticalAlignment top
Text "i1"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -