File Exchange

image thumbnail

pplane9(action,inpu​t1,input2,input3)

version 1.0.0.0 (215 KB) by Gerardo García
Fixes some issues with Hugh Harvey modified version of pplane8

65 Downloads

Updated 17 Sep 2017

View License

Changed the name to pplane9.m . It also fixes some issues with Hugh Harvey modified version of pplane8. Runs on Matlab R2016b.

Comments and Ratings (15)

Hugh Harvey

Pplane has been fixed to work with MATLAB R2018a - please see Pplane if having problems with this version. https://uk.mathworks.com/matlabcentral/fileexchange/61636-pplane

its don't work correctly on MATLAB2018. show below error

Error in pplane9 (line 908)
meload = uimenu(mefile,'label','Load a system ...',...

when I tried to use it on MATLAB R2018a I got the following error message:
Error using uimenu
There is no call property on the Menu class.

Error in pplane9 (line 908)
meload = uimenu(mefile,'label','Load a system ...',...

These changes also work to make pplane run under MATLAB 2018b. I haven't found any other issues yet.

Thank you.

Thanks guys! Did the following steps:
'call' -> 'CallBack'
if notice -> if ishghandle(notice)
if gstop -> if ishghandle(gstop)

It worked on r2017b

CK Tan

ls

ls

Helo again,

Solved my issue on "pplane9.m" making these:

'call' -> 'CallBack'
if notice -> if ishghandle(notice)
if gstop -> if ishghandle(gstop)

Took it from others who posted. Thanks everyone. Hope this helps someone.

I downloaded pplane8 from John Polking's website: http://math.rice.edu/~dfield/#8.0. Then I made all the replacements suggested by Dan Schult on R2017b. It ran, but not as it did in the old days. When you click on the phase plane, you get a tiny little red arrow moving forward, then backward on the solution trajectory. When it is done, it turns to blue. In the old days, the blue was drawn immediately. You got to watch the blue move forward, then backward. Any suggestions?

Dan Schult

I was able to adapt the plan.m file available on Prof Polking's webpage to work with Matlab 2017b. I haven't done extensive testing, but it seems to do all the features/menu items with the default ODE system.

I did the following global replacements to pplane8.m calling the file pplane2017b.m
pplane8 -> pplane2017b
'numb','off' -> remove all of these Key/Value pairs. Sometimes they are wrapped around a line end. So search for 'numb' and remove the 'numb','off' pair from each occurrence.
'call' -> 'CallBack'
'number' -> 'NumberTile'

if notice -> if ishghandle(notice)
if gstop -> if ishghandle(gstop)
if dud.notice & dud.noticeflag -> if ishghandle(dud.notice) & ishghandle(dud.noticeflag)

Hey,
I tried to run it on Matlab 2017b and got this error:
pplane9
Error using uimenu
There is no call property on the Menu class.

Error in pplane9 (line 908)
meload = uimenu(mefile,'label','Load a system ...',...

Do you have any idea if this works on Matlab 9.3 (2017B)? Maybe I am missing something.
Thank you.

If somebody finds any problem with this version, please let me know. Both programs have a lot of options to check. I fixed 2 problems I detected on two options I normally use when I was checking Hugh Harvey's version.

Copyright to John C Polking, Rice University, 2003 for original version. Modified from updated by Hugh Harvey and George Williams, University of Bristol, 2016.

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Pplane