Problem Spatial Econometrics toolbox with R2013a update.

Hi,
I'm fairly new to Matlab. I started doing some basic spatial econometric analysis a year ago and switched over to MatLab, and the code generated by LeSage at spatial-econometrics.com.
I've done a few scripts in MatLab where I've used some commands from this toolbox. Now, when updated from R2011a to R2013a it suddenly will not run parts of this code. This is an example of the error code I get;
"Undefined function 'optimset' for input arguments of type 'char'.
Error in sem>sem_parse (line 299) options = optimset('fminbnd');
Error in sem (line 138) [rmin,rmax,convg,maxit,detval,ldetflag,eflag,order,miter,options] = sem_parse(info);"
Has anyone encountered this problem previously? How can I resolve this? As it is now, I cannot use the spatial econometric toolbox for any analysis.
Thanks, Fredrik

2 Comments

Hey Fredrik..I downloaded the matlab trial version..R2015a but there is no spatial econometrics package listing here..how do I then use spatial toolbox? Thanks in advance
I think u can download the toolbox

Sign in to comment.

Answers (1)

Before anyone answers - I found the problem. I just reset the path in MatLab, seemed to have done the trick.
F

Categories

Asked:

on 6 Sep 2013

Commented:

on 4 Jun 2015

Community Treasure Hunt

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

Start Hunting!