How to write string delimiter in a string

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

2 Commenti

Collet Bastien
Collet Bastien il 13 Ott 2012
Modificato: Collet Bastien il 13 Ott 2012
yes, but here string = '
I'm trying to do : A = ' ' ' ;

Accedi per commentare.

 Risposta accettata

Matt Fig
Matt Fig il 13 Ott 2012
Modificato: Matt Fig il 13 Ott 2012
A = ''''
Or:
S = 'This is how you write a '' in MATLAB'

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by