MATLAB Matlab not finding Microsoft Word install

  • Thread starter Thread starter AIR&SPACE
  • Start date Start date
  • Tags Tags
    install Matlab
AI Thread Summary
MATLAB is unable to publish an m-file to a Word document due to an error indicating that Microsoft Word must be installed, despite it being present on the system. The user is running MATLAB R2010b on Windows 7 Ultimate with Microsoft Word 2010. Attempts to create an ActiveX server for Word also fail, suggesting a potential issue with the installation or compatibility of the software. Key troubleshooting points include checking the version of Word, the operating system, and whether .NET is installed. The discussion highlights the need for compatibility between MATLAB and the installed version of Word for successful publishing.
AIR&SPACE
Messages
100
Reaction score
0
I'm trying to publish an m-file as a word document, but when I try to publish it I get the following error:
Code:
? Error using ==> mxdom2word at 15
Microsoft Word must be installed to publish to this format.

Error in ==> publish at 183
        mxdom2word(dom,outputAbsoluteFilename);

Error in ==> mdbpublish at 55
outputPath = publish(file, options);
 
? Error using ==> open at 68
NAME must contain a single string.

I DO have Word installed, so what's the deal-e-o?
 
Physics news on Phys.org
Through the "Set Publish Configurations" GUI Window.
 
Also, may I point out that this:
Code:
h = actxserver('Word.Application')
also results in an error:

Code:
? Error using ==> actxserver at 91 
Server creation failed. Invalid ProgID 'Word.Application'
 
Interesting,
-What version of Word do you have?
-What operating system are you using?
-Do you have .NET installed on your computer?
-What version of MATLAB are you using?
 
- Microsoft 2010 (specifically 14.0.4128.5000 (32 bit))
- Windows 7 Ultimate (Service Pack 1)
- Yes
-
Code:
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.11.0.584 (R2010b)
MATLAB License Number: 608808
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB                                                Version 7.11       (R2010b)
Simulink                                              Version 7.6        (R2010b)
Aerospace Blockset                                    Version 3.6        (R2010b)
Aerospace Toolbox                                     Version 2.6        (R2010b)
Bioinformatics Toolbox                                Version 3.6        (R2010b)
Control System Toolbox                                Version 9.0        (R2010b)
Curve Fitting Toolbox                                 Version 3.0        (R2010b)
Data Acquisition Toolbox                              Version 2.17       (R2010b)
Database Toolbox                                      Version 3.8        (R2010b)
Financial Toolbox                                     Version 3.8        (R2010b)
Image Acquisition Toolbox                             Version 4.0        (R2010b)
Image Processing Toolbox                              Version 7.1        (R2010b)
MATLAB Builder NE                                     Version 3.2        (R2010b)
MATLAB Compiler                                       Version 4.14       (R2010b)
Mapping Toolbox                                       Version 3.2        (R2010b)
Neural Network Toolbox                                Version 7.0        (R2010b)
Optimization Toolbox                                  Version 5.1        (R2010b)
Parallel Computing Toolbox                            Version 5.0        (R2010b)
Parallel Computing Toolbox                            Version 5.0        (R2010b)
Real-Time Workshop                                    Version 7.6        (R2010b)
Robust Control Toolbox                                Version 3.5        (R2010b)
Signal Processing Blockset                            Version 7.1        (R2010b)
Signal Processing Toolbox                             Version 6.14       (R2010b)
SimDriveline                                          Version 1.5.5      (R2010b)
SimPowerSystems                                       Version 5.3        (R2010b)
Simscape                                              Version 3.4        (R2010b)
Simulink 3D Animation                                 Version 5.2        (R2010b)
Simulink Control Design                               Version 3.2        (R2010b)
Statistics Toolbox                                    Version 7.4        (R2010b)
Symbolic Math Toolbox                                 Version 5.5        (R2010b)
System Identification Toolbox                         Version 7.4.1      (R2010b)
Video and Image Processing Blockset                   Version 3.1        (R2010b)
xPC Target                                            Version 4.4        (R2010b)
 

Similar threads

Replies
4
Views
3K
Replies
7
Views
8K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
3
Views
3K
Replies
4
Views
2K
Back
Top