Displaying an apostrophe (')

34 views (last 30 days)
Arthur
Arthur on 8 May 2020
Edited: Fangjun Jiang on 8 May 2020
How do I print an apostrophe (')?
I've tried multiple things with the disp function, is there any way to do that?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 8 May 2020
Edited: Fangjun Jiang on 8 May 2020
display('''')
search for 'Single quotation mark' in "doc sprintf"

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!