Skip to content

Bug in arMyStr2Sym connected to MATLAB version #165

Description

@laasfeld

When calling arMyStr2Sym the function call fails. The problem seems to be on line 17

if(str2double(matver.Version) >= 9.4)

It branches into the else caluse and causes further problems with symbolic conversions for Matlab version 2021a as matver.Version value is '9.10' and str2double(matver.Version) equals 9.1, which of course is smaller than 9.4.
Possible solution is using verLessThan function (for example "if(~verLessThan('matlab', '9.4'))" ) or something similar.
verLessThan is added in R2007a so there should be sufficient backwards compatibility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions