Matlab R2014b with OS X Yosemite Issue

2 ビュー (過去 30 日間)
Austin Baird
Austin Baird 2014 年 11 月 21 日
I am trying to use the plane program and keep getting the following error when I run it:
Error using figure
There is no numb property on the Figure class.
Error in pplane8 (line 398)
ppset = figure('name','pplane8 Setup','numb','off',...
Any ideas on what I should do? I've tried two separate Macs on Yosemite and it does the same thing.
  13 件のコメント
Walter Roberson
Walter Roberson 2015 年 5 月 19 日
I looked at the code and saw that it was trying to create a string containing the figure number. I looked at the documentation for Figure Properties and saw that there is now a Number property that returns the figure number. So get() of the Number is what was needed. The rest of the time was spent searching through the code to be sure that the problem did not occur elsewhere.
Samuel Dupree
Samuel Dupree 2015 年 5 月 20 日
Walter,
Thank you for the explanation. I gratefully appreciate it. This clears things up for me.
Again, thanks.
Sam Dupree.

サインインしてコメントする。

採用された回答

Geoff Hayes
Geoff Hayes 2014 年 11 月 21 日
Austin - try changing the numb to the full property name NumberTitle. So line 398 of pplane8 would become
ppset = figure('name','pplane8 Setup','NumberTitle','off',...
'tag','pplane8','visible','off',...
'UserData',ud);
Note the change also from user to UserData. See figure window properties for more details.
  7 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 7 月 9 日
Try typing just
get(dud.axes)
to see which properties are available. If you don't see something for 'user' then you may have to use UserData.
Daniel Sierra
Daniel Sierra 2015 年 7 月 9 日
Thanks Geoff it worked! i also had to make a few changes that i haven't read from this forum but so far it seems to work just fine!

サインインしてコメントする。

その他の回答 (2 件)

Hugh Harvey
Hugh Harvey 2017 年 2 月 17 日
Hi, I have gone through and made all these changes to Pplane - Please see link for updated version: http://uk.mathworks.com/matlabcentral/fileexchange/61636-pplane
  1 件のコメント
mohammadreza naghimmaramsadeh
mohammadreza naghimmaramsadeh 2020 年 11 月 20 日
so beautiful.thanks

サインインしてコメントする。


Jakob
Jakob 2016 年 6 月 21 日
Very good work everyone. The pplane-tool is extremely useful! Great you made it work again in newer Matlab!! Cannot give enough kudos ;-)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by