Info

This question is closed. Reopen it to edit or answer.

error: Undefined function 'nlarxOptions'

1 view (last 30 days)
Mohamed Aboamer
Mohamed Aboamer on 26 May 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
When i'm trying to use the following function (nlarxOptions) the following error appears: Undefined function 'nlarxOptions'
Note: I'm using Matlab R2012a

Answers (1)

Walter Roberson
Walter Roberson on 27 May 2015
  2 Comments
Walter Roberson
Walter Roberson on 27 May 2015
That routine is not available before R2015a.
Possibly before then you could construct your own struct() to pass in. I don't think I have access to the R2012a documentation to review whether options were supported back then. Does your code work if you change "nlarxoptions" to "struct" ? For example, instead of
opts = nlarxoptions('SearchOptionSet', 'Iters', 125);
try
opts = struct('SearchOptionSet', struct('Iters', 125));

Community Treasure Hunt

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

Start Hunting!