Closed mkr3mer closed 4 years ago
I have encountered a couple cases with MATLAB strings that have problems after formatting.
Case 1: "bar" + sprintf("%d ",foo) => "bar" +sprintf( %d ",foo) which is no longer valid syntax.
"bar" + sprintf("%d ",foo)
"bar" +sprintf( %d ",foo)
Case 2: sprintf("%d ",foo) => sprintf(" %d ",foo) which is annoying, but less of a problem
sprintf("%d ",foo)
sprintf(" %d ",foo)
I am using MATALB R2019b.
I have encountered a couple cases with MATLAB strings that have problems after formatting.
Case 1:
"bar" + sprintf("%d ",foo)
=>"bar" +sprintf( %d ",foo)
which is no longer valid syntax.Case 2:
sprintf("%d ",foo)
=>sprintf(" %d ",foo)
which is annoying, but less of a problemI am using MATALB R2019b.