Cant publish any m-files

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

Answers (1)

per isakson
per isakson on 5 Jul 2012
Edited: 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

Yes, this also triggers the error for me. Also, I've tried reinstalling MATLAB twice, but this error always comes back.
per isakson
per isakson on 6 Jul 2012
Edited: per isakson on 6 Jul 2012
I guess the tech support are best suited to help you. Which version do you use?
R2012a with Windows 7. Yeah, I can't figure out why this isn't working haha.
Have you tried different output formats - pdf, html, ... ?
Yeah, they all had the same problem.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Asked:

on 5 Jul 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!