Closed mdialloFJZ closed 3 years ago
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.
Hi Todd,
I have removed the sign "+" in front of all subdirectories. Then I used this following Matlab instruction for the parent_foolder and all subdirectories ("stats", "data", etc... and the subsubdirectories):
p=genpath('parent_folder') addpath(p);
For the version, I have a matlab 2017. Is is correct the way of adding the subdirectories?
Kind regards,
Moha
On 10.08.20 07:56, Todd Pataky wrote:
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 instructionshttps://spm1d.org/install/InstallationMatlab.html#label-installationmatlab.
If this doesn't work, please send the versions of Matlab and spm1d that you're using.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/0todd0000/spm1dmatlab/issues/129#issuecomment-671174872, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQRUXNQYRBH4KN6Q4SKZIGLR76DXPANCNFSM4PZFCGDA.
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.
Thanks Tood! It works well!
Kind regards,
Mohamadou
On 10.08.20 10:17, Todd Pataky wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/0todd0000/spm1dmatlab/issues/129#issuecomment-671222649, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQRUXNQXNDWIPXQFV6MRVVDR76UKJANCNFSM4PZFCGDA.
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