Cant publish any m-files

Asked by Austin Baker on 5 Jul 2012
Latest activity Commented on by Austin Baker on 6 Jul 2012

When I attempt to publish any m-file (regardless of the name of the m-file or code inside the m-file) MATLAB doesn't publish it. Instead, I get this error:

No method 'createTextNode' with matching signature found for class 'org.apache.xerces.dom.DocumentImpl'.

Error in m2mxdom>createDom (line 53)

newTextNode = dom.createTextNode(matlabVersion.Version);

Error in m2mxdom (line 32)

dom = createDom;

Error in publish (line 147)

[dom,cellBoundaries] = m2mxdom(code);

Error in mdbpublish (line 55)

outputPath = publish(file, options);

Error using open (line 69)

NAME must contain a single string

0 Comments

Austin Baker

Tags

1 Answer

Answer by per isakson on 5 Jul 2012
Edited by per isakson on 6 Jul 2012

I run this simple example on R2012a and Windows7 - no problems. Does this trigger the error on your system?

    >> publish( 'publish_test' )
    ans =
    h:\m\cssm\html\publish_test.html

where

      function publish_test
      %% publish_test
      end

.

Why did you include "Symbolic Math Tolbox" in "Products"?

5 Comments

Austin Baker on 6 Jul 2012

R2012a with Windows 7. Yeah, I can't figure out why this isn't working haha.

per isakson on 6 Jul 2012

Have you tried different output formats - pdf, html, ... ?

Austin Baker on 6 Jul 2012

Yeah, they all had the same problem.

per isakson

Contact us