SPRINTF is not a codegen supported function (although fprintf is). I tried to create a dedicated MEX but does not work. Does any one can figure out a workaround? Could not find any working example with coder.ceval neither
How on earth has matlab been around for so long with all these code generation tools but converting a number to a string is not supported? Dear lord why? How many thousands of dollars do these code tools cost again?