Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qigongFDA opened this issue Nov 6, 2019 · 3 comments

Comments

@qigongFDA
Copy link
Contributor

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

@qigongFDA
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants