%% (sectioning) added in R2020a does not work when opened in R2021b
4 次查看(过去 30 天)
显示 更早的评论
I saved an m file with %% for sectioning in R2020a.
Then, I opened it in R2021b, but %% didn't worked.
If I copy and paste the code in a new script in R2021b, %% works well.
I don't know what's the problem.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/919529/image.png)
2 个评论
Jacky Tsai
2022-3-12
This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.
回答(1 个)
Jacky Tsai
2022-3-13
This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!