Construct Timer using evalin
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Chirag Gupta
2011년 7월 21일
evalin('base','Timer.Name = ''test123''');
You need to escape '
댓글 수: 2
Milad Javan
2011년 7월 21일
Walter Roberson
2011년 7월 21일
Wouldn't assignin(base, 'Timer.Name', 'test123')
be more straight-forward ?
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!