MATLAB Answers

Roy Berg
0

dfield8 with R2015b on Mac OSX issues?

Asked by Roy Berg
on 10 Sep 2015
Latest activity Answered by George Williams on 17 Feb 2017
Is there a better option for first order ODE solving/plotting in Matlab than dfield8? It gives me problems every time I attempt to enter differential equations. My latest issue is as follows:
Reference to non-existent field 'axes'.
Error in dfield8 (line 813)
aud = get(dud.axes,'UserData');
Error while evaluating UIControl Callback
Any help or better options would be much appreciated.

  5 Comments

For R2014b and later, change
dfset = figure('name','dfield8 Setup','numb','off',..."
to
dfset = figure('name','dfield8 Setup','numbertitle','off',..."
It would be a great service if someone were to update dfield, pplane, and odesolve for the latest version of Matlab.
It would be a great service, yes -- but performing the service doesn't pay any bills.

Sign in to comment.

3 Answers

Answer by Rick Saltzman on 13 Feb 2016

Errors also arise due to the use of:
if notice
and
if dud.notice
These are corrected by:
if ~isEmpty(notice)
if ~isEmpty(dud.notice)

  1 Comment

Hello, very nice answer, but in Matlab R2015a (Windows7): Undefined function '~isEmpty'!
'~isempty' works for me.

Sign in to comment.


Answer by George Williams on 17 Feb 2017

  0 Comments

Sign in to comment.


Answer by ahmed
on 20 Jun 2016
Edited by ahmed
on 20 Jun 2016

you will find the both editions in this link (one for Matlab 2014 and before, the other is for Matlab 2015 and later):
Update: the file of pplane8.m which found in this link works for Matlab 2015 and later :)

  2 Comments

pplane8.m DOES NOT WORK for R2015b
go through and replace every occurrence of 'numb' (the quoted string exactly like that) with 'numbertitle'. . Also replace one 'number' (the quotes string exactly like that) with 'numbertitle'

Sign in to comment.