interpreter with backlash underscores
Mostrar comentarios más antiguos
hi guys,
i have a csv file that has some underscores in the strings that i use as xticklabels. i understand the the interpreter will interpret underscores to be use the following text as subscript unless you put a backslash in front of the underscore. sometimes this works perfectly other times it doesn't, see example:
abc\_def -> abc_def as it's supposed to other times it gives me abc\_def -> abc\_def keeping the backslash as part of the string
any ideas
Respuesta aceptada
Más respuestas (1)
Adam Jurhs
el 13 de Mayo de 2022
0 votos
2 comentarios
Adam Jurhs
el 13 de Mayo de 2022
Voss
el 13 de Mayo de 2022
Yeah, it's pretty cool what MathWorks has put together for us here.
Modify your question as necessary, to demonstrate the problem, and I'll modify my answer to address it if I can.
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
