Hello everyone,
Could you help me to resolve 2 questions:
1. Is it possible to obtain current date\time as date vector in OpenVibe, aka code "clock" in Matlab?
2. I have tried to use Matlab filter in OpenVibe but got error : first call to matlab engine failed.
On my PC everything is prepared as on the page
http://openvibe.inria.fr/documentation/ ... ilter.html
Is any other hidden tricks aka space in the path (Program files) that I have to check?
Thanks in advance for your answers.
Matlab and current time in OpenVibe
Re: Matlab and current time in OpenVibe
I'm not sure, but I don't think so, everything you need to know about the time format in OpenViBE is discussed nicely in this post of Y. Renard http://stickyvibe.tuxfamily.org/blog/?p=1211. Is it possible to obtain current date\time as date vector in OpenVibe, aka code "clock" in Matlab?
I'm not sure whether I can help here, but first of all according to the info page it's not sure if it works with 64-bit matlab. That aside, I was looking for some info on the engOpen function as the arguments it takes need to be NULL on windows systems. So I wanted to know where it gets its info to start matlab and I read the following in the matlab help2. I have tried to use Matlab filter in OpenVibe but got error : first call to matlab engine failed.
On my PC everything is prepared as on the page
http://openvibe.inria.fr/documentation/ ... ilter.html
Maybe this helps?On Windows systems, the startcmd string must be NULL.
On Windows systems, engOpen opens a COM channel to MATLAB. The MATLAB software you registered during installation starts. If you did not register during installation, on the command line you can enter the command:
matlab /regserver
Re: Matlab and current time in OpenVibe
a solution is trivial:
use path
C:/MATLAB/R2011b/bin/win32
not
C:\MATLAB\R2011b\bin\win32
to get current CPU time in OpenVibe via matlab:
in bci_Pprocess
matrix_out=clock;
use path
C:/MATLAB/R2011b/bin/win32
not
C:\MATLAB\R2011b\bin\win32
to get current CPU time in OpenVibe via matlab:
in bci_Pprocess
matrix_out=clock;