📄 vbex7_14.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "VB Link to MATLAB"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 5115
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 5115
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "Run MATLAB"
Height = 495
Left = 3960
TabIndex = 1
Top = 240
Width = 975
End
Begin VB.TextBox Text1
Height = 375
Left = 240
TabIndex = 0
Text = "Text1"
Top = 240
Width = 3495
End
Begin VB.Label Label1
Caption = "Label1"
Height = 2175
Left = 120
TabIndex = 2
Top = 840
Width = 4815
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.LinkMode = vbLinkNone
Text1.LinkTopic = "MATLAB|Engine"
Text1.LinkItem = "EngEvalString"
Text1.LinkMode = vbLinkManual
ML_command = Text1.Text
Text1.LinkExecute ML_command
Label1.LinkMode = vbLinkNone
Label1.LinkTopic = "MATLAB|Engine"
Label1.LinkItem = "EngStringResult"
Label1.LinkMode = vbLinkManual
Label1.LinkRequest
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -