Hello,
Since I installed Matlab 2016b, the "pan" function does not work on figures.
When I click on the pan button, I have the following error message:
Error using putdowntext (line 181)
Simulink model 'pan' was called with incorrect number of arguments
Error while evaluating ToggleTool ClickedCallback
For example, I just did the following:
a = 0:1:100;
plot(a)
Then I clicked on the "pan" button and I had the error message above. It happens in Matlab and Simulink, on all figures.
Another issue probably linked to this: when I open a figure saved from Simulink, I have the following error warnings:
Warning: While loading an object of class 'proplistener':
No constructor 'event.proplistener' with matching signature found.
> In matlab.graphics.internal.figfile.FigFile/read (line 31)
In matlab.graphics.internal.figfile.FigFile
In loadFigure (line 31)
In openfig>localOpenFigure (line 69)
In openfig (line 40)
In open (line 159)
In uiopen (line 167)
Warning: During load:
An invalid default object has been detected while loading a heterogeneous array of class
event.proplistener. An empty array of class event.proplistener will be returned.
> In matlab.graphics.internal.figfile.FigFile/read (line 31)
In matlab.graphics.internal.figfile.FigFile
In loadFigure (line 31)
In openfig>localOpenFigure (line 69)
In openfig (line 40)
In open (line 159)
In uiopen (line 167)
I attached a snapshot of the error messages in Matlab.
Can someone help?
Thank you!

 채택된 답변

Steven Lord
Steven Lord 2019년 4월 18일

0 개 추천

Run this command:
which -all pan
From the error message it sounds like you've created a Simulink model named pan that is taking precedence over the built-in pan function. Rename the model.

댓글 수: 1

Pauline Dumont
Pauline Dumont 2019년 4월 18일
Hi Steven,
You are right, thank you very much for your help!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

릴리스

R2016b

태그

질문:

2019년 4월 18일

댓글:

2019년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by