Matlab not finding Microsoft Word install

  • Context: MATLAB 
  • Thread starter Thread starter AIR&SPACE
  • Start date Start date
  • Tags Tags
    install Matlab
Click For Summary

Discussion Overview

The discussion centers around an issue with MATLAB not recognizing an installed version of Microsoft Word when attempting to publish an m-file as a Word document. Participants explore potential causes and configurations related to the software environment, including MATLAB and Word versions, as well as the operating system in use.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant reports an error when trying to publish an m-file, indicating that Microsoft Word must be installed.
  • Another participant inquires about how the publishing option is being invoked, referencing MATLAB documentation.
  • A participant mentions using the "Set Publish Configurations" GUI Window to invoke the publishing process.
  • Another participant points out that attempting to create an ActiveX server for Word results in a different error, indicating a failure in server creation due to an invalid ProgID.
  • Questions are raised regarding the specific version of Word, the operating system, the presence of .NET, and the version of MATLAB being used.
  • A participant provides detailed information about their software setup, including the version of Word (Microsoft 2010), the operating system (Windows 7 Ultimate), and the version of MATLAB (R2010b), along with a list of installed toolboxes.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the cause of the issue, and multiple potential factors are being discussed without resolution.

Contextual Notes

Participants have not clarified whether the issue is related to compatibility between specific versions of MATLAB and Word, or if it is due to other environmental factors such as .NET installation.

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 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K