Skip to content

Commit

Permalink
Simulink: change deprecated strmatch to strcmpi
Browse files Browse the repository at this point in the history
The `strmatch` command is deprecated in newer MATLAB versions.  Using `strcmpi` also allows for case insensitivity (see issue OpenFAST#2232)
  • Loading branch information
andrew-platt committed Jun 5, 2024
1 parent 4140c4d commit 7cdef4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue-codes/simulink/examples/Test01_SIG.mdl
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ Model {
ZOrder -3
BlockMirror on
NameLocation "top"
Expr "u(strmatch('LSSGagVxa',OutList))"
Expr "u(strcmpi('LSSGagVxa',OutList))"
}
Block {
BlockType SubSystem
Expand Down

0 comments on commit 7cdef4f

Please sign in to comment.