%% (sectioning) added in R2020a does not work when opened in R2021b

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.

2 Comments

This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.
Please post your comment in the answer section.

Sign in to comment.

Answers (1)

This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.

Categories

Asked:

on 9 Mar 2022

Answered:

on 13 Mar 2022

Community Treasure Hunt

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

Start Hunting!