フィルターのクリア

Can not use the publish pdf function!

10 ビュー (過去 30 日間)
Hanna Sundling
Hanna Sundling 2019 年 10 月 6 日
回答済み: Steven Lord 2019 年 10 月 6 日
Hi! When I try to publish my code the following message comes up. For the firs error I choose to add the file to the matlab path but then when I try to publish again it says the second error. How do I fix this?

採用された回答

Steven Lord
Steven Lord 2019 年 10 月 6 日
The names of functions or function files in MATLAB cannot contain spaces or periods. Rename your file to remove the spaces and periods or replace them with underscore characters.
To check if a name is a valid function name, call isvarname on it.
isvarname('Exercise P.4 6.m') % Will return false
isvarname('Exercise_P_4_6.m') % Will return true

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by