FAQ - Frequently Asked Questions
Issue:
-
Why can't I make the MCR example on page 92 of the PLS_Toolbox manual work?
Possible Solutions:
-
On page 92 of the PLS_Toolbox manual, the code:
>> [c,s] = mcr(dat,c0);
is expecting that the variable "dat" exists in the workspace but will not (if you follow the manual.) To make this example work, you need to add the following line prior to calling MCR:
>> dat = oesdata.data{1}; %pull out first batch of OESDATA
>> [c,s] = mcr(dat,c0);
This line will extract the expected data from the oesdata DataSet as the variable "dat".
Still having problems? Check our documentation Wiki or try writing our helpdesk at helpdesk@eigenvector.com