What causes "Error in publish"?
조회 수: 17 (최근 30일)
이전 댓글 표시
Getting this error when trying to publish (same error for any *.m file; was able to publish earlier):
Error using rand
Size inputs must be numeric.
Error in ver (line 12)
yv = rand(num,1);
Error in m2mxdom>createDom (line 51)
matlabVersion = ver('MATLAB');
Error in m2mxdom (line 31)
dom = createDom;
Error in publish
Error in mdbpublish (line 55)
outputPath = publish(file, options);
Error using open (line 51)
NAME must contain a single character vector.
>>
Could you tell me what is the issue? I tried to reinstall the product. Still getting the error.
댓글 수: 0
답변 (1개)
Sai Bhargav Avula
2020년 3월 26일
Hi,
Try the following commands and rerun your program
restoredefaultpath;
rehash toolboxcache;
savepath
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!