フィルターのクリア

Message when attempting to publish, ".m file must contain valid XML 1.0 Standard characters."

7 ビュー (過去 30 日間)
Julia
Julia 2023 年 3 月 24 日
回答済み: Swaraj 2023 年 4 月 4 日
The message above, pops up in a window after attempting to publish my cade as a PDF.
  1 件のコメント
Rik
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
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.

カテゴリ

Help Center および File ExchangeStructured Data and XML Documents についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by