fantasboy 发表于 2006-4-26 15:55

vb调用matlab的细节问题

Private Sub Command1_Click()<BR>    Dim Matlab As object    <BR>    Dim Result As string    <BR>    Set Matlab = CreateObject("Matlab.Application")<BR>    Result = Matlab.execute("splinetool")<BR>End Sub<BR><BR>运行结果为什么是matlab样条工具闪一下就没了~

happy 发表于 2006-4-30 20:21

回复:(fantasboy)vb调用matlab的细节问题

DimmatlabAsObject<BR>PrivateSubCommand1_Click()<BR>DimhAsString<BR>DimresuleAsString<BR>Setmatlab=CreateObject("matlab.application")<BR>matlab.Visible=True<BR>result=matlab.execute("splinetool")<BR>EndSub<BR>PrivateSubForm_Unload(CancelAsInteger)<BR>Setmatlab=Nothing<BR>EndSub<BR>

mhl516 发表于 2006-5-29 20:31

kankan

yu1983619 发表于 2006-5-31 16:47

回复:(happy)回复:(fantasboy)vb调用matlab的细...

<DIV class=quote><B>以下是引用<I>happy</I>在2006-4-30 20:21:22的发言:</B><BR>DimmatlabAsObject<BR>PrivateSubCommand1_Click()<BR>DimhAsString<BR>DimresuleAsString<BR>Setmatlab=CreateObject("matlab.application")<BR>matlab.Visible=True<BR>result=matlab.execute("splinetool")<BR>EndSub<BR>PrivateSubForm_Unload(CancelAsInteger)<BR>Setmatlab=Nothing<BR>EndSub<BR></DIV>
<P>运行结果还是matlab样条工具闪一下就没了</P>
页: [1]
查看完整版本: vb调用matlab的细节问题