Matlab online error while rendering plots
조회 수: 4 (최근 30일)
이전 댓글 표시
Whenever I try to plot some function using Matlab online I see the following error. Can someone suggest some workarounds for this issue?
Warning: Error occurred while executing the listener callback for event POST_REGION defined for class matlab.internal.language.RegionEvalutor:
Too many input arguments
Error in flipud (line 14)
x = flip(x, 1);
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.snapshotAllFigures
댓글 수: 2
dpb
2022년 6월 11일
Well, I never use ML online, but I'm sure this isn't generic -- dunno why plot would be calling flip; show us the specific code that will generate the error and the error in context...
Walter Roberson
2022년 6월 11일
https://www.mathworks.com/matlabcentral/answers/497549-warning-while-trying-to-filter-rgb-values-on-a-picture#
답변 (1개)
Steven Lord
2022년 6월 11일
My suspicion is that you've written your own flip.m or flipud.m that's preventing MATLAB from calling the flip or flipud functions included in MATLAB. To check this:
which -all flip
which -all flipud
If one of those shows your own custom flip.m or flipud.m, rename that custom function.
댓글 수: 2
Walter Roberson
2022년 6월 11일
Might possibly be SPM12 "compatability" functions, which these days nearly everyone needs to disable manually
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!