DIDSR / eeDAP

Evaluation Environment for Digital and Analog Pathology
http://didsr.github.io/eeDAP/
Other
16 stars 20 forks source link

source code version and compiled version need different code for Matlab 2019a #86

Open qigongFDA opened 4 years ago

qigongFDA commented 4 years ago

Using Matlab 2019a to compile original source code generates following errors compiledErrors

qigongFDA commented 4 years ago

The error comes from "addpath" function. When we run source code in matlab, we need to use "addpath" function to call the .m file in other folders. The 2019a compiler does this step automatically, and does not allow the compiled code have the "addpath" function.

qigongFDA commented 4 years ago

Current solution is temporarily delete the "addpath" function when we compile the code. The function exiting in following areas:

  1. Administrator_Input_Screen.m - line 56
  2. ExtractROI_BIO.m - line 75
  3. GUI.m - line 184
  4. Load_InputFile.m - line 17
  5. Stage_Allighment.m - line 42
brandon-gallas commented 4 years ago

Thanks for clarifying this. It would be better to find a programatic solution. Did you see these pages?