An updated version of Pplane that works on Matlab R2018b.
Copyright to John C Polking, Rice University, 2003 for original version.
Updated by Hugh Harvey and George Williams, University of Bristol, 2016.
Hugh Harvey (2020). Pplane (https://www.mathworks.com/matlabcentral/fileexchange/61636-pplane), MATLAB Central File Exchange. Retrieved .
Thanks for your code. It works! But when I deploy it into exe app, there are some errors. Could you please help me find out why and how to correct them?
Errors in black cammand window ( two paragraphs):
Error in <a href="matlab:helpUtils.errorDocCallback<'pplane', 'c:\Users\***\AppData\Local\Temp\***\mcrCache8.1\pplane1\pplane\pplane.m',26>" style="font-weight:bold">pplane</a> <<a href="matlab: opentoline<'c:\Users\***\AppData\Local\Temp\***\mcrCache8.1\pplane1\pplane\pplane.m',26,0>"line 26</a>>
Output argument "output" <and maybe others> not assigned during call to "c:\Users\***\AppData\Local\Temp\***\mcrCache8.1\pplane1\pplane\pplane.m".
unable to print provided exception.
Complier: Microsoft Visual C++ 2008 SP1
Works as intended in 2019a, although on first run it tells me that windows are open but invisible. Upon instructing it to close the windows, and running again, the UI appears like it should.
My 2018b can not run this code. There are always a window come out and say " There are some pplane8 figures open although they may be invisible. What do you want to do?" Is there anyone know what should i do?
meload = uimenu(mefile,'label','Load a system ...',...
my 2018b can not run this code
Is there a version that works with R2019a?
everyone opens pplane8.m
Excuse me, how can I use it on R2018b?
Super work, I must reiterate my comment from 4th of May 2017... Are you guys geniuses????
Thank you. Working fine with R2018b
Here's a version that's working in R2018b: https://a-lab.ee/share/pplane8/pplane8.zip
Everything seems to be working. The author can update the submission with this.
It doesn't work for MATLAB R2018a.
This code does not work for MATLAB R2018a, anyone know how to get it to wrok?
Not working with MATLAB 2018a.
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)
Has anyone been able to run pplane and dfield functions on Matlab 2017? If so, what modifications were made?
Adding the tempdir folder to Matlab's path is a dangerous idea: You might shadow built-in functions, when TEMP contains M-files. The resulting errors are very hard to debug.
The code uses strings as callbacks, which is outdated for over 15 years now. The bunch of |eval| commands are not secure and reliable also.
The code contains useful comments and a standard help section. The included integrators are clean and efficient, and the source of the parameters and algorithm is mentioned.
The code fails due to the lazy usage of "call" instead of "Callback", and "user" instead of "UserData". What a pity for such a powerful tool.
I am trying to run this program with MATLAB 2017, and I get the following errors:
Error using uimenu
There is no call property on the Menu class.
Error in pplane8 (line 907)
meload = uimenu(mefile,'label','Load a system ...',...
Error in pplane8 (line 52)
Error in run (line 91)
evalin('caller', strcat(script, ';'));
Opening a saved figure.fig generated with pplane8 returns an error and prevents the figure from closing. Error below. Any suggestions?
Struct contents reference from a non-struct array object.
Error in pplane8 (line 6230)
Error in pplane8 (line 6258)
Error while evaluating Figure CloseRequestFcn.
I found out the cause of my problem: I was naming the pplan8.m script as pplane81.m to avoid overwriting the old version. Somehow Matlab 2016b didn't like this and it was giving a misleading error message. Changing the name to pplane8.m solved this issue. As this script defines a function called pplane8, it seems that the m file MUST be equally named.
I modified both pplane8.m and a compatible dfield8.m I found in anoter place to dfield9.m and pplane9.m to avoid this naming conflict with the previous version. I also fixed in this version of pplane two other unspotted errors preventing the linearization window to display and the different related graph windows like 3D, composite, etc.
I uploaded these modified versions of dfield and pplane. I hope that they will be useful to all users of these very important scripts for teachig and doing research on Differential Equations.
Same problem with Matlab R2016b: "Error while evaluating UIControl Callback." is what shows up in the command window after clicking "Proceed" :-(
Does any body know, how to make a 3D Phase space with pplane`?
Do you know how to get out of data about phase portrait?Thank you
Does not work on R2017a... "Error while evaluating UIControl Callback." is what shows up in the command window after clicking "Proceed". I am very new to matlab and if I had any idea where to start looking I would. Would anyone be willing to help?
Perfect, runs nicely!
Incredible!!!!!!! Works so well!!! Are you guys geniuses????
Plan updated to work with R2018b