generate C code for an expression
expression, Array, Matrix, or Vector of expressions
The ccode(A,x) function creates a C statement which represents the assignment of the expression A to the variable x. This C statement is returned as a string.
When called with the form ccode(A), the expression A is assigned to a default variable name in the returned statement.
w = pow(x, 0.4e1) - 0.5e1 * x * x + 0.2e1;
Download Help Document
What kind of issue would you like to report? (Optional)