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

Installation issues: Undefined variable "spm1d" or class "spm1d.data.uv0d.t1.RSWeightReduction". #129

Closed
mdialloFJZ opened this issue Aug 9, 2020 · 4 comments

Comments

@mdialloFJZ
Copy link

Hi Todd,

I hope you're doing well and safe. I am getting with you about the "spm1dmatlab" statistical tool. I have downloaded and tried to use it but I am running into issues: Undefined variable "spm1d" or class "spm1d.data.uv0d.t1.RSWeightReduction". I have written a matlab script to add all directories and sub-directories. When I try in the examples repertory the "ex_ttest_onesample.m", I obtain these error messages. Please would mind telling me what might be going wrong? and how to fix it?

Kind regards,

Mohamadou Diallo, PhD

Institute for Energy and Climate Research - Stratosphere (IEK-7)

Email: m.diallo@fz-juelich.de

Forschungszentrum Juelich GmbH
Leo-Brandt-Strasse
52425 Juelich, Germany

@0todd0000
Copy link
Owner

Hello,

This error can be caused by either (1) path, or (2) version.

If you're setting the path in a script, ensure that you do not add directories that start with "+".

Alternatively, instead of a script, please use "add with subdirectories" as described in the Matlab installation instructions.

If this doesn't work, please send the versions of Matlab and spm1d that you're using.

@mdialloFJZ
Copy link
Author

mdialloFJZ commented Aug 10, 2020 via email

@0todd0000
Copy link
Owner

The "+" sign must be left on all directories. The "+" symbol is necessary for Matlab to correctly interpret spm1d's object-oriented programming interface.

addpath and genpath will work as long as the parent directory is correct. The parent path should be the directory that contains +spm1d and spm8.

@mdialloFJZ
Copy link
Author

mdialloFJZ commented Aug 10, 2020 via email

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