Create write_func_constraints.m