我正在尝试从 Matlab(2013a,32 位)调用 Eviews(8、32 位),但到目前为止没有成功。我在 Matlab 中使用了以下代码:
clear all; clc;
hm = actxserver('EViews.Manager.8')
hm = COM.Eviews_Manager
h = hm.GetApplication(0)
h = Interface.EViews_8.0_Type_Library.IApplication
h.invoke
h.Show()
h.Run('wfcreate comEV u 4')
h.Run('genr x = @obsid')
我收到以下错误:
>> h = hm.GetApplication(0)
No appropriate method, property, or field GetApplication for class
COM.EViews_Manager_8.
有人可以帮忙吗?提前致谢。