[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with odeset()
From: |
Matteo Frigo |
Subject: |
Re: Help with odeset() |
Date: |
Sun, 16 Oct 2016 15:56:05 +0000 |
Dear rik,
These are the outputs on r2016a:
x = odeset ('reltol', 1e-1)
x =
AbsTol: []
BDF: []
Events: []
InitialStep: []
Jacobian: []
JConstant: []
JPattern: []
Mass: []
MassSingular: []
MaxOrder: []
MaxStep: []
NonNegative: []
NormControl: []
OutputFcn: []
OutputSel: []
Refine: []
RelTol: 0.1000
Stats: []
Vectorized: []
MStateDependence: []
MvPattern: []
InitialSlope: []
___________________
y = odeset ('RelTal', 1e-2)
Error using odeset (line 225)
Unrecognized property name 'RelTal'.
__________________
z = odeset ('Rel', 1e-3)
z =
AbsTol: []
BDF: []
Events: []
InitialStep: []
Jacobian: []
JConstant: []
JPattern: []
Mass: []
MassSingular: []
MaxOrder: []
MaxStep: []
NonNegative: []
NormControl: []
OutputFcn: []
OutputSel: []
Refine: []
RelTol: 1.0000e-03
Stats: []
Vectorized: []
MStateDependence: []
MvPattern: []
InitialSlope: []
_______________________
w = odeset ('MyCustomProperty', 1)
Error using odeset (line 225)
Unrecognized property name 'MyCustomProperty'.
Best,
Matteo
On 16/10/2016 16:19, Rik wrote:
> % Should ignore case and set RelTol, is list of properties still alphabetic?
> x = odeset ('reltol', 1e-1)
> % Does Matlab error or warn when option value is incorrect?
> y = odeset ('RelTal', 1e-2)
> % Does Matlab auto-complete to nearest available property as for graphics?
> z = odeset ('Rel', 1e-3)
> % Can arbitrary properties be added?
> w = odeset ('MyCustomProperty', 1)