#141: Replace strmatch which is a deprecated function in Matlab ---------------------+------------------------------------------------------ Reporter: houtanb | Owner: Type: bug | Status: new Priority: trivial | Milestone: 4.3 Component: General | Version: Keywords: | ---------------------+------------------------------------------------------ Comment(by jpfeifer): Unfortunately, strmatch ignored trailing whitespaces, while strcmp considers them. Apparently, the only way is to replace e.g. strmatch(var_list_(i,:),M_.endo_names) with n=length(var_list_(i,:)); find(strncmp(var_list_(i,:),M_.endo_names,n)) -- Ticket URL: <https://www.dynare.org/trac/ticket/141#comment:5> Dynare <http://www.dynare.org> The Dynare project