Cant publish any m-files
Show older comments
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
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
Austin Baker
on 6 Jul 2012
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?
Austin Baker
on 6 Jul 2012
per isakson
on 6 Jul 2012
Have you tried different output formats - pdf, html, ... ?
Austin Baker
on 6 Jul 2012
Categories
Find more on Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!