Matlab errors when attempting to publish
이전 댓글 표시
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.
답변 (1개)
Sean de Wolski
2014년 1월 17일
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
Travis
2014년 1월 17일
Sean de Wolski
2014년 1월 17일
It's hard to say without seeing it. Look at the two elements in the structure and see what the other is.
Travis
2014년 1월 17일
Sean de Wolski
2014년 1월 17일
Then look at your path:
>>path
It will probably be one of the folders on the top.
Travis
2014년 1월 29일
Sean de Wolski
2014년 1월 30일
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
2014년 1월 31일
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!
카테고리
도움말 센터 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!