I am attempting to process .dat files from an instrument using a script that was not written by me (I have zero experience with Matlab), and this person is out of town to help troubleshoot. The file paths are in an Excel file that the script reads.
Here is the error:
Aqualog_Processing
Dot indexing is not supported for variables of this type.
Error in Aqualog_Processing (line 133)
exw=A.data;
This is where the error is occuring:
%excitation wavelengths
%A = importdata('Aq120027 (01) - Waterfall Plot Sample.dat');
exw=A.data;
exw=exw(1,:); %25Jan: Taking just the first row from all of the EEM matrix. This is the row that has the excitation wavelengths listed. (5nm intervals from 600 - 240nm)
%exw=exw(1,1:73); % ex600-225nm cut to ex600-240nm 5x2 Ex/Em increments
%exw=exw(1,1:121); % ex600-225nm cut to ex600-240nm 3x3 Ex/Em increments
exw = fliplr(exw); %25Jan: Flipping order of excitation wavelengths. Now 240 - 600 nm in 5 nm intervals.
exw = exw'; %25Jan: Transposing excitation values. Now a column, not a row.
I ran into many other errors, but I was able to figure them out before this. I’m not even sure what to try for this error because I’m not entirely sure what the code is even doing here. I’m sure there is a lot of information that is missing to help, but I’m not sure what else to add as I have never used Matlab before. I am happy to reply with more information.
cody is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.