当前位置:网站首页>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 IntegerPtrSafe Function GetActiveWindow Lib "USER32.DLL" () As IntegerIs to add a in the pop-up macro ptrsafe that will do .
Be accomplished , Thank Baidu God !
边栏推荐
- PHP one-time request lifecycle
- 2022 zhongkepan cloud - server internal information acquisition and analysis flag
- Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
- Why does new public chain Aptos meet market expectations?
- 在.NET 6.0中配置WebHostBuilder
- Strange Towers of Hanoi|汉诺塔4柱问题
- 苹果独占鳌头,三星大举复兴,国产手机在高端市场颗粒无收
- 万字详解“用知识图谱驱动企业业绩增长”
- Basic knowledge of website design
- Leetcode 504. Hex number
猜你喜欢

B站这个视频我是跪着看完的

Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills

Leetcode 504. 七进制数

【荧光字效果】

Docker configuring MySQL Cluster

Logical architecture of MySQL

面试突击68:为什么 TCP 需要 3 次握手?

在Blazor 中自定义权限验证

Flask框架初学-03-模板

SSG framework Gatsby accesses the database and displays it on the page
随机推荐
Error in render: "typeerror: cannot read properties of undefined (reading 'length')" --- error when calling interface
云原生(三十六) | Kubernetes篇之Harbor入门和安装
【有奖提问】向图灵奖得主、贝叶斯网络之父 Judea Pearl 提问啦
网易云UI模仿-->侧边栏
Opencv image processing
Wechat applet development
A new paradigm of distributed deep learning programming: Global tensor
The problem of four columns of Hanoi Tower
The use of MySQL in nodejs
I finished watching this video on my knees at station B
[datawhale] [machine learning] Diabetes genetic risk detection challenge
SQL优化的魅力!从 30248s 到 0.001s
Interview shock 68: why does TCP need three handshakes?
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Wu Enda linear regression of machine learning
WARNING: [pool www] server reached pm. max_ children setting (5), consider raising it
PMM (percona monitoring and management) installation record
服务器内存故障预测居然可以这样做!
苹果独占鳌头,三星大举复兴,国产手机在高端市场颗粒无收