It appears that the application to be deployed is creating or modifying a
.m
file. Although this is valid, the deployed application
cannot execute that file.
If you want a deployed application to execute the .m
file
it creates or modifies, consider doing one of the following:
Construct a character vector and use the eval
function
on it.
Use an anonymous function, which enables you to create a simple
function without having to create a .m
file to
reduce the impact of this restriction.
For details, see Anonymous Functions.