Skip to content

Setup does not work for Unix-based OS #1

@Jonas-Nicodemus

Description

@Jonas-Nicodemus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions