Matlab not finding Microsoft Word install

  • Context: MATLAB 
  • Thread starter Thread starter AIR&SPACE
  • Start date Start date
  • Tags Tags
    install Matlab
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 4K views
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)