Silly user input causing MATLAB to grind to a halt

조회 수: 1 (최근 30일)
Knut
Knut 2018년 3월 6일
set(gca, 'YTick', 0:10*1e4);
Causes my (OSX) MATLAB to grid to a halt. Of course, I should have written:
set(gca, 'YTick', 0:1e4:10*1e4);
But I did not. And nothing can fix this but killing my application (or possibly, waiting for 2 weeks).
Would it not be possible to do some sanity tests on user input and throw a warning if this or similar operations are expected to cost more than a few minutes, or exhaust all of the available memory?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by