Coder - Static size string in sprintf
5 views (last 30 days)
How can I prevent MATLAB Coder to generate variable size code for a simple number insertion into a string?
In the generated C code it uses a lot of functions like emxutil to determine the size of the generated string for sprtintf.
I just want to say that i is only one digit. How can I do that?!
The followings also do not work
Using the following also gives an error for generating code that LHS is fixed sized but RHS is varying: