Error Message: valid interpreter syntax

15 views (last 30 days)
Hi - I can't figure out how to make this error message go away. Have tried SO many variations. Appreciate any help.
filename=('20201021_144030___66_[0000]')
xlabel(filename)
Warning: Error updating Text.
String scalar or character vector must have valid interpreter syntax:
20201021_144030___66_[0000]

Accepted Answer

Setsuna Yuuki.
Setsuna Yuuki. on 25 Nov 2020
Edited: Setsuna Yuuki. on 25 Nov 2020
add in xlabel()
xlabel(filename,'Interpreter','none')
  1 Comment
Kathleen Scarlett
Kathleen Scarlett on 25 Nov 2020
Edited: Kathleen Scarlett on 25 Nov 2020
That worked!!!! Thank you!

Sign in to comment.

More Answers (0)

Categories

Find more on Characters and Strings 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!