Construct Timer using evalin
Mostrar comentarios más antiguos
I am working on a gui and I want to make a timer in workspace. I use this command but it occured error:
evalin('base','Timer=timer');
evalin('base',['Timer.Name=' 'Timer01']); It cannot change timer name. Please help me.
Respuesta aceptada
Más respuestas (1)
Chirag Gupta
el 21 de Jul. de 2011
evalin('base','Timer.Name = ''test123''');
You need to escape '
2 comentarios
Milad Javan
el 21 de Jul. de 2011
Walter Roberson
el 21 de Jul. de 2011
Wouldn't assignin(base, 'Timer.Name', 'test123')
be more straight-forward ?
Categorías
Más información sobre Whos 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!