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
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
function publish_test %% publish_test end
Why did you include "Symbolic Math Tolbox" in "Products"?