-
Notifications
You must be signed in to change notification settings - Fork 13
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
Comments
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 instructions<https://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 GitHub<#129 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQRUXNQYRBH4KN6Q4SKZIGLR76DXPANCNFSM4PZFCGDA>.
…------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
|
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 GitHub<#129 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQRUXNQXNDWIPXQFV6MRVVDR76UKJANCNFSM4PZFCGDA>.
…------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
|
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
The text was updated successfully, but these errors were encountered: