Skip to content
New issue

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

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

Already on GitHub? # to your account

Setup does not work for Unix-based OS #1

Open
Jonas-Nicodemus opened this issue Sep 28, 2023 · 0 comments
Open

Setup does not work for Unix-based OS #1

Jonas-Nicodemus opened this issue Sep 28, 2023 · 0 comments

Comments

@Jonas-Nicodemus
Copy link

Running setup_morph.m does not work for Unix-based operating systems because the paths are hardcoded with "\" es separtor:

MORpH/setup_morph.m

Lines 66 to 67 in a0fe436

%% Third-party Software Download and Installation
cd(strcat(morph_path,"\src\thirdParty\external\"))

For Unix-based operating systems, it must be "/".
I suspect that the correct way to create path strings in MATLAB is to use the fullfile function.

There are many more paths in this script, and perhaps throughout the project, for which the fullfile function should be used instead of strcat.

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

No branches or pull requests

1 participant