PDA

查看完整版本 : 关于调用WORD时出错提示的。帮帮忙


kissass
2008-04-09, 19:42
我调用了是这样的,请大侠帮帮忙解决下啊!我找了很多资料都不知道怎么搞。
>> notebook -setup

Welcome to the utility for setting up the MATLAB Notebook
for interfacing MATLAB to Microsoft Word

Setup complete
>> notebook
Warning: MATLAB is now an automation server
??? Error using ==> actxserver
Server creation failed. Invalid ProgID 'matlab.application'

Error in ==> notebook>startMatlabAutomationServer at 281
hAppMatlab = actxserver('matlab.application');

Error in ==> notebook at 38
hAppMatlab = startMatlabAutomationServer(hAppMatlab);


如果打开以前调用过的WORD文件会弹出错误。如下:
Error connecting to MATLAB: 对象变量或With块变量未设置
:lovely: :cry:

liuflyingeagle
2010-09-15, 22:50
我的也是这样子,不知道您设置好了没有,请指教!