Can not use the publish pdf function!
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hanna Sundling
am 6 Okt. 2019
Beantwortet: Steven Lord
am 6 Okt. 2019
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?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241325/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241325/image.png)
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 6 Okt. 2019
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.
isvarname('Exercise P.4 6.m') % Will return false
isvarname('Exercise_P_4_6.m') % Will return true
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!