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!