当前位置:网站首页>Under win10 64 bit, matlab fails to configure notebook
Under win10 64 bit, matlab fails to configure notebook
2022-07-26 10:05:00 【bamboogz99】
installed matlab2014 after , Try to configure notebook
>> notebook -setup
Error using notebook>stopEverythingIfBadRegistry (line 76)
Word not properly installed: winword.exe not found
Error in notebook (line 26)
[wordPath, templatePath] = stopEverythingIfBadRegistry;
But the following error is displayed , At first thought it was Matlab Installation issues .
Search did not find results , Have a close look at Matlab About China notebook Configuration of , It is found that the so-called installation is just a process called m-book.dot Copy the template file of to WORD The process of storing the template directory . And the first one is Matlab Find the system installation WORD The path of , The above error is usually in the first step . In this case , Just skip the first step and copy
(1) stay MATLAB Installation directory , Find one called m-book.dot The file of ;
(2) find WORD The template directory , Usually in C:\Users\Administrator\AppData\Roaming\Microsoft\Templates Next , Just copy it .
notebook How to use it ? First, find out what it does , Look at the official explanation :
notebook Open MATLAB Notebook in Microsoft Word (on Microsoft Windows platforms)
notebook, by itself, launches Microsoft Word and creates a new MATLAB
notebook called "Document 1."
It's actually creating a Word file , This document has word document property , It can also be used matlab Ability to understand data and calculate , Simply put, it can be in word Run some in matlab command , This is for doing word Courseware is a good choice ( It is strongly recommended to use word To do it matlab The courseware of , If you understand the reason, you will naturally understand , Don't explain ).
Operation mode :
(1)matlab Input in notebook;( My system is not successful )
(2) Direct operation word, Create a new document , But the template used is the one installed above m-book.dot
But this method made a mistake on my computer , The display error is as follows :
Seems to be 64 Bit incompatibility , Search for , The answer is as follows :
add to PtrSafe attribute , take :
Private Declare Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare Function GetActiveWindow Lib "USER32.DLL" () As Integer
Change it to :
Private Declare PtrSafe Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare PtrSafe Function GetActiveWindow Lib "USER32.DLL" () As Integer
PtrSafe Function GetActiveWindow Lib "USER32.DLL" () As Integer
Is to add a in the pop-up macro ptrsafe that will do .
Be accomplished , Thank Baidu God !
边栏推荐
- Sqoop【环境搭建 01】CentOS Linux release 7.5 安装配置 sqoop-1.4.7 解决警告并验证(附Sqoop1+Sqoop2最新版安装包+MySQL驱动包资源)
- Phpexcel export Emoji symbol error
- Common errors when starting projects in uniapp ---appid
- Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
- Uniapp error 7 < Map >: marker ID should be a number
- [datawhale] [machine learning] Diabetes genetic risk detection challenge
- Tableviewcell highly adaptive
- 新增市场竞争激烈,中国移动被迫推出限制性超低价5G套餐
- Sqoop【付诸实践 02】Sqoop1最新版 全库导入 + 数据过滤 + 字段类型支持 说明及举例代码(query参数及字段类型强制转换)
- B站这个视频我是跪着看完的
猜你喜欢
Node memory overflow and V8 garbage collection mechanism
AirTest
SSG框架Gatsby访问数据库,并显示到页面上
B站这个视频我是跪着看完的
Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
PMM (percona monitoring and management) installation record
Interview shock 68: why does TCP need three handshakes?
服务器内存故障预测居然可以这样做!
服务发现原理分析与源码解读
Sqoop [environment setup 01] CentOS Linux release 7.5 installation configuration sqoop-1.4.7 resolve warnings and verify (attach sqoop 1 + sqoop 2 Latest installation package +mysql driver package res
随机推荐
Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills
R language ggpubr package ggsummarystats function visualizes the grouping box diagram (custom grouping color) and adds the statistical values corresponding to the grouping under the x-axis label (samp
The problem of four columns of Hanoi Tower
新增市场竞争激烈,中国移动被迫推出限制性超低价5G套餐
In Net 6.0
Xiaobai makes a wave of deep copy and shallow copy
SQL优化的魅力!从 30248s 到 0.001s
WARNING: [pool www] server reached pm. max_ children setting (5), consider raising it
汉诺塔II|汉诺塔4柱
Leetcode 504. Hex number
Flutter Event 派发
Unstoppable, pure domestic PCs have been in place, and the monopoly of the U.S. software and hardware system has been officially broken
AirTest
Uni app learning summary
Rocky basic exercise -shell script 2
网易云UI模仿-->侧边栏
开发转测试:从0开始的6年自动化之路...
Explain automatic packing and unpacking?
反射机制的原理是什么?
spolicy请求案例