Explanation

Changing the folder using the cd function affects the MATLAB search path, which in turn can affect which functions get called and how MATLAB performs input and output operations. When deploying the application using any of the following products, the cd function is unlikely to have the effect you expect when it executes in the deployed application:


Suggested Action

Rewrite the program to avoid using the cd function.