I need to plot respiratory waveform. When i try to run the gui i get the following error
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)pspm_display('push_plot_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
when i try to run the get_resp.m file , it asks me to upload the the data to be imported. How can i proceed ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there
pspm_get_resp.m is a function used for the import functionality. Am I right, that you wanted to extract the respiratory channel from an existing pspm file? If this is the case, you should call [sts, infos, data, filestruct] = pspm_load_data(fn, 'resp') instead, where fn is the path to your pspm file.
May you send me the file you used and information about how exactly you tried to display the data? So I can reconstruct the error.
Best,
Laure
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to plot respiratory waveform. When i try to run the gui i get the following error
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)pspm_display('push_plot_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
when i try to run the get_resp.m file , it asks me to upload the the data to be imported. How can i proceed ?
Hi there
pspm_get_resp.m is a function used for the import functionality. Am I right, that you wanted to extract the respiratory channel from an existing pspm file? If this is the case, you should call
[sts, infos, data, filestruct] = pspm_load_data(fn, 'resp') instead, where fn is the path to your pspm file.
May you send me the file you used and information about how exactly you tried to display the data? So I can reconstruct the error.
Best,
Laure