Matlab errors when attempting to publish
Mostrar comentarios más antiguos
So i get the following error when trying to publish (regardless of settings, html, pdf, etc)
I'm using it on a mac, 2013b
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 143)
[dom,cellBoundaries] = m2mxdom(code);
Error in mdbpublish (line 56)
outputPath = publish(file, options);
Error using open (line 69)
NAME must contain a single string.
Respuestas (1)
Sean de Wolski
el 17 de En. de 2014
This error can be seen if:
v = ver('matlab')
Returns a structure array instead of a single structure. This can happen if you have a third party toolbox installed in a directory named "matlab". In that case rename the directory and update your matlabpath accordingly.
7 comentarios
Travis
el 17 de En. de 2014
Sean de Wolski
el 17 de En. de 2014
It's hard to say without seeing it. Look at the two elements in the structure and see what the other is.
Travis
el 17 de En. de 2014
Sean de Wolski
el 17 de En. de 2014
Then look at your path:
>>path
It will probably be one of the folders on the top.
Travis
el 29 de En. de 2014
Sean de Wolski
el 30 de En. de 2014
You could just try the big hammer approach which I would expect to work:
restoredefaultpath;
rehash toolboxcache;
savepath
If that does not work, contact technical support and point them to this question.
Daniel Shanks
el 31 de En. de 2014
Hi, I have the same error when I try to publish code. I did some of the steps you mentioned above and determined that the MATLAB support package for Arduino is returned along with the matlab version when ver('matlab') is called. I tried your 'big hammer approach' and it did not work. Any advice on how to remove this without causing other damage?? Also my help window is formatted incorrectly, which I believe is a consequence of the publish function not running.
Thanks!
Categorías
Más información sobre MATLAB Report Generator en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!