Can not use the publish pdf function!
55 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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.
isvarname('Exercise P.4 6.m') % Will return false
isvarname('Exercise_P_4_6.m') % Will return true
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!