how to add single quotes ' ' in a string?
Ältere Kommentare anzeigen
I am trying to add into my signal 2 quote marks. for example:
signal.wav and I would like to change it likes this: 'signal.wav'
I have done this so far:
a=strcat(signal_data,'.wav'); which gives me a=signal.wav
bear in mind that the signal name is keep chaning as it is in loop.
signal.wav
fun.wav
example.wav
Akzeptierte Antwort
Weitere Antworten (1)
Fangjun Jiang
am 8 Okt. 2020
Bearbeitet: Fangjun Jiang
am 8 Okt. 2020
a='this include ''single quote'' and others.'
b="using 'string' is better"
1 Kommentar
GreyHunter
am 8 Okt. 2020
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!