how to add single quotes ' ' in a string?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Fangjun Jiang
le 8 Oct 2020
Modifié(e) : Fangjun Jiang
le 8 Oct 2020
a='this include ''single quote'' and others.'
b="using 'string' is better"
1 commentaire
GreyHunter
le 8 Oct 2020
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!