Faq make DataSet backwards compatible: Difference between revisions
Jump to navigation
Jump to search
imported>Lyle No edit summary |
imported>Lyle No edit summary |
||
Line 6: | Line 6: | ||
I received the following error when I loaded a dataset into Matlab: | I received the following error when I loaded a dataset into Matlab: | ||
Warning: Loaded dataset object newer than present constructor. | Warning: Loaded dataset object newer than present constructor. | ||
Dataset object converted to structure. | Dataset object converted to structure. | ||
This happened because the DataSet being loaded is of a new version than the current DataSet Object. There are a couple of ways to get around this: | This happened because the DataSet being loaded is of a new version than the current DataSet Object. There are a couple of ways to get around this: | ||
Line 14: | Line 14: | ||
# If you only need the data, extract the data from the structure into a new dataset: <pre>>> newdso = dataset(oldstruct.data);</pre> | # If you only need the data, extract the data from the structure into a new dataset: <pre>>> newdso = dataset(oldstruct.data);</pre> | ||
# Obtain the latest DataSet Object (the "@dataset" folder), either separately from our website or as a part of the latest version of PLS_Toolbox. Note that this might not solve the problem if your DataSet was created with a Beta (unreleased) version of the DSO. | # Obtain the latest DataSet Object (the "@dataset" folder), either separately from our website or as a part of the latest version of PLS_Toolbox. Note that this might not solve the problem if your DataSet was created with a Beta (unreleased) version of the DSO. | ||
'''Still having problems? Please contact our helpdesk at [mailto:helpdesk@eigenvector.com helpdesk@eigenvector.com]''' | |||
[[Category:FAQ]] | [[Category:FAQ]] |
Revision as of 12:55, 5 December 2018
Issue:
How do I make a DataSet backwards compatible?
Possible Solutions:
I received the following error when I loaded a dataset into Matlab:
Warning: Loaded dataset object newer than present constructor. Dataset object converted to structure.
This happened because the DataSet being loaded is of a new version than the current DataSet Object. There are a couple of ways to get around this:
- Try using the 'struct2dataset' function to generate a DataSet from the structure:
>> newdso = struct2dataset(oldstruct);
- If you only need the data, extract the data from the structure into a new dataset:
>> newdso = dataset(oldstruct.data);
- Obtain the latest DataSet Object (the "@dataset" folder), either separately from our website or as a part of the latest version of PLS_Toolbox. Note that this might not solve the problem if your DataSet was created with a Beta (unreleased) version of the DSO.
Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com