Message when attempting to publish, ".m file must contain valid XML 1.0 Standard characters."
조회 수: 34 (최근 30일)
이전 댓글 표시
The message above, pops up in a window after attempting to publish my cade as a PDF.
댓글 수: 1
Rik
2023년 3월 24일
What happens if you run the code below?
filename = 'your_m_file.m';
clc,disp(reshape(setdiff(double(unique(fileread(filename))),1:127),[],1))
(This code will display all special characters and may give you a hint what unsupported character this might be.)
답변 (1개)
Swaraj
2023년 4월 4일
This error occurs when you are trying to publish a MATLAB script that contains characters that are not valid in XML 1.0 standard.
To resolve this error, you will need to identify the characters that are causing the issue and remove or replace them with a valid one.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Enterprise Deployment with MATLAB Production Server에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!