dfield8 with R2015b on Mac OSX issues?

3 次查看(过去 30 天)
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 个评论
Arthur Wasserman
Arthur Wasserman 2016-3-3
It would be a great service if someone were to update dfield, pplane, and odesolve for the latest version of Matlab.
Walter Roberson
Walter Roberson 2016-3-12
It would be a great service, yes -- but performing the service doesn't pay any bills.

请先登录,再进行评论。

回答(3 个)

Rick Saltzman
Rick Saltzman 2016-2-13
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 个评论
Nenad Dragojevic
Nenad Dragojevic 2016-12-15
编辑:Nenad Dragojevic 2016-12-15
Hello, very nice answer, but in Matlab R2015a (Windows7): Undefined function '~isEmpty'!
'~isempty' works for me.

请先登录,再进行评论。


George Williams
George Williams 2017-2-17

ahmed
ahmed 2016-6-20
编辑:ahmed 2016-6-20
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 个评论
Walter Roberson
Walter Roberson 2017-2-14
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'

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by