Problem with Waitfor in 2014b
古いコメントを表示
The following code works in older versions (prior to 2014b) but not anymore.
data= rand (100,1);
figure;
plot(data);
hold off
zoom on
h=zoom;
set(h,'Motion','horizontal','Enable','on');
waitfor(gcf,'CurrentCharacter',13) % code
zoom reset
[points,~]=ginput(1);
close
The error I get it in 2014b is:
"Error using waitfor Value must be a char."
This doesn't happen in the previous versions of matlab I have use 2010-2013
What is different in 2014b? Any help would be appreciated. Cheers
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!