c codes generated by MatlabCoder