MATLAB中Notebook安装使用问题
1、问题描述(win7系统)
(1)、在matlab的command窗口中输入notebook -setup 安装notebook,然后直接提示:
Welcome to the utility for setting up the MATLAB Notebook
for interfacing MATLAB to Microsoft Word
Setup complete
然后输入notebook
notebook
??? Error using ==>
actxserver at 91
Server creation failed. Invalid ProgID 'matlab.application'
Error in ==>
notebook>startMatlabAutomationServer at 237
hAppMatlab =
actxserver('matlab.application');
Error in ==> notebook at 38
hAppMatlab =
startMatlabAutomationServer(hAppMatlab);
(2)、打开Word,选择“文件---新建---模板(本机上的模板)---m-book.dot”然后弹出对话框提示:对象变量和with块变量位设置,如下图所示:
2、解决方法
setp1:由于windows7系统对于权限的控制更加安全,所以进入matlab所在的文件夹,找到matlab.exe(或者快捷方式图标),然后右击选择:“属性---兼容性---选择管理员身份运行此程序”,点击确定。
setp2:关闭matlab,进入“运行”(或者Win+R),输入cmd命令,
注(D:\>cd Program File\MATLAB中Program
File\MATLAB为MATLAB的安装路径)
这样问题就得到了解决。
3、参考网址:
4、如有疑问请加QQ695038109进行交流讨论