RodentDataAnalytics / mwm-ml-gen

mwm-ml-gen (RODA) is a software capable of performing analysis and classification of trajectory data for the Morris Water Maze
Other
9 stars 6 forks source link

Deployment #22

Closed avouros closed 8 years ago

avouros commented 8 years ago

In order for the code to be deployed all files (apart from the ones inside the import folder) must exist inside the project home folder and not separate folders.

image.

This issue is caused because the following set of commands (which add all folders/subfolders/files of the project home folder to the matlab path):

        main_path = cd(fileparts(mfilename('fullpath')));
        addpath(genpath(main_path));

do not cope with the deployed version of the program.

Solution: All the .m files inside the folders must be called each time they are needed (by using dynamic paths and the ''ctfroot'' command).

This solution will be implemented in the future.

avouros commented 8 years ago

Issue moved to: https://github.com/RodentDataAnalytics/mwm-ml-gen/issues/39