MATLAB: Can I work with two versions of an application under separate folders but with the same filenames

applicationsconflictfilenamesMATLABMATLAB Compilermultipleversions

Hi,
Is it possible to simultaneously work on two (or more) versions of the same application, sharing the same set of filenames but under different main folders, without risking conflicts? I also need to be able to deploy .exe files from the different versions. What will the compiler say when it discoveres recurring m-files? Or perhaps there is a better way to manage multiple versions of an application?
Thanks

Best Answer

The .m files are packaged up in pre-compiled and encrypted format. When the application runs, a temporary directory is created and the files are unpacked into there (still in pre-compiled form), and the path for the executable is set to that directory. A different executable would unpack to a different directory and its path would be set appropriately. There will be no conflict.