MATLAB: How to write string delimiter in a string

string delimiter

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 \, /, …).

Best Answer

A = ''''
Or:
S = 'This is how you write a '' in MATLAB'