How to write string delimiter in a string

8 次查看(过去 30 天)
Hello The question is very simple, but I can't find the answer on the web. I would like to write a string with ' as content : A = ''';
How can I do that ? (I've already tried with \, /, ...).

采纳的回答

Matt Fig
Matt Fig 2012-10-13
编辑:Matt Fig 2012-10-13
A = ''''
Or:
S = 'This is how you write a '' in MATLAB'

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by