I am trying to deploy a simple console application using MATLAB Compiler.
However, we can't use addpath() in deploying applications.
I would like to know, how can we add a subfolder containing functions and data files and later how to use them.
Possible answer to access a file would be:
fp = fopen(fullfile(ctfroot, 'my', 'data', 'directory', 'data.file'));
However, this doesn't explain how to add path to access those functions in a subdirectory.