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

1 view (last 30 days)
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
Jacky Tsai
Jacky Tsai on 12 Mar 2022
This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.

Sign in to comment.

Answers (1)

Jacky Tsai
Jacky Tsai on 13 Mar 2022
This is due to the invalid file name. Please remove the whitespace in the file name and reopen it.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!