'String scalar or character vector must have valid interpreter syntax' in waitbar
Afficher commentaires plus anciens
I am creating a waitbar where the text includes the path to the file being processed. The path name, ovbiously includes a backslash ('\') character, and this is causing the warning message to be issued: 'string scalar or character vector must have valid interpreter syntax'.
I could write a function to replace every ocurrence of the '\' character with '\\', but is there a way to set the interpreter to 'none' when calling the waitbar function?
Réponse acceptée
Plus de réponses (1)
Fangjun Jiang
le 30 Mar 2023
0 votes
What is the issue? I don't have any error message in R2022b.
h=waitbar(0.5,'c:\abc\xyz')
1 commentaire
Jim Riggs
le 30 Mar 2023
Catégories
En savoir plus sur App Building 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!