Octave support?
Octave support?
Hi I saw Mind Monitor provides Matlab support. I wonder if there is also Octave support. It seems Octave does not have the "readtable" function, so this requires a rewrite. If needed I can write one but first I'd like to check if it is already available. Thanks.
Re: Octave support?
Try this
and let me know if it works ok.Re: Octave support?
Thanks, James. For some reason it generates an empty figure without data on my Octave and Ubuntu. I will take a look later and get back to you.
Re: Octave support?
Email me your CSV file and I'll test it here. I've not used Octave before, so I probably made an error.
I'm testing using Octave 5.2.0 on Windows 10 x64
I'm testing using Octave 5.2.0 on Windows 10 x64
Re: Octave support?
Thanks. Just sent an email to Support@Mind-Monitor.com. Please check.
Re: Octave support?
Fixed 
Your data file has two extra columns with the two secret algorithms in
This version will autodetect if you have the algorithms and work with both versions.

Your data file has two extra columns with the two secret algorithms in

This version will autodetect if you have the algorithms and work with both versions.
Re: Octave support?
Thank you so much again, James. Now the temp files can capture all data. Unfortunately the textscan function reads in only part of the data and then only 2 straight lines are plotted, on Windows 10 and Ubuntu. Not sure if you saw the same thing.
Anyway I tried the Matlab code and it worked perfectly with Matlab 2019. With Matlab 2018 the hex color codes do not work; maybe we can check the Matlab version and apply different 'Color' options.
Anyway I tried the Matlab code and it worked perfectly with Matlab 2019. With Matlab 2018 the hex color codes do not work; maybe we can check the Matlab version and apply different 'Color' options.
Re: Octave support?
If I import your CSV with
then I get this graph with all five waves:
museData has 2315 data points and museElements has 46 , which adds up to 2361, the number of data lines in the CSV file.
What do you get?
Code: Select all
[museData, museElements] = mmOctImport('_2020-06-15--13-43-56_6616100285349042216.csv');
What do you get?
Re: Octave support?
What you showed is identical to what I got using Matlab 2019.
Using Octave I got I modified the code to:
And I got:
lineCounts = 2361
museDataSize =
1 38
The textscan function seems not functioning properly. This could be due to some setting issue from my side.
Using Octave I got I modified the code to:
Code: Select all
...
lineCounts = 0;
while(!feof(fIn))
line = fgetl(fIn);
commas = length(strfind(line,','));
if (commas==dataCommaCount)
fprintf(fOutMD,'\n%s,',line);
else
fprintf(fOutME,'\n%s',line);
endif
lineCounts = lineCounts + 1;
endwhile
lineCounts
...
museData = textscan(fIn,formatData,'HeaderLines',1,'Delimiter',',');
museDataSize = size(museData)
lineCounts = 2361
museDataSize =
1 38
The textscan function seems not functioning properly. This could be due to some setting issue from my side.
Re: Octave support?
What version of Octave are you using?