Hello Everybody. i am new here and also in this field (Bio-medical Engineering). I am using MATLAB and detected the R-R intervals but the problem i am facing now is how to get those R-R Detection in the .TXT file.
If some one knows how to do it, please help me.
Many Thanks in Advance
MATLAB has separate functions to write text into a .txt file
in = fopen('program.txt', 'wt'); // opens a file. (If the file is not already there, it will be created)
fprintf(in,'%s\n','text to be written'); //write the third parameter to the text file
fclose(in); // you need to close the file after you are done using it.
MATLAB has separate functions to write text into a .txt file
in = fopen('program.txt', 'wt'); // opens a file. (If the file is not already there, it will be created)
fprintf(in,'%s\n','text to be written'); //write the third parameter to the text file
fclose(in); // you need to close the file after you are done using it.
Thanks for your reply mate but i have detected the R-R intervals by setting the level of threshold, now i want to get the detected R-R interval values in the '.txt' format as a separate file, i don't want to add any text. so is this the way to get those values as in the '.txt' file ? i am sorry if my question looks silly. Remember i am the new one