Back to PLS Help

Error Following "Show PLS Result for ERP Data"
pdhami
Posted on 09/04/20 18:08:34
Number of posts: 36
pdhami posts:

Dear PLS community,

I have run some preliminary ERP data with PLS, and following the user guide, got to the point of running PLS. Using the resulting file, I click "Show PLS Result for ERP Data" and as it attempts to load the figure, I get the following error:

Cannot convert double value 99999 to a handle
 
Error in erp_showplot_ui (line 731)
                     bs_wave_hdl(i,j) = 99999;
 
Error in erp_plot_ui>init (line 1370)
   erp_showplot_ui(h0);
 
Error in erp_plot_ui (line 40)
      fig = init(datamat_file, view_option, fig);
 
Error in erp_plot_ui>view_corr (line 2333)
   h01 = erp_plot_ui({datamat_file,5});
 
Error in erp_plot_ui>toggle_corr (line 1551)
      view_corr;
 
Error in erp_plot_ui (line 94)
      toggle_corr;
 
Error while evaluating Menu Callback.
 
Any advice as to how to solve this?
 
Best,
Paul

Replies:

Untitled Post
rmcintosh
Posted on 09/05/20 08:38:54
Number of posts: 385
rmcintosh replies:

I think is the graphics call, which is problematic with newer versions of Matlab.  Try this version of PLSGUI and let me know if it works:

https://www.dropbox.com/s/95jt0q1gmj1sf1b/plsgui.zip?dl=0



Untitled Post
pdhami
Posted on 09/05/20 09:19:40
Number of posts: 36
pdhami replies:

quote:

I think is the graphics call, which is problematic with newer versions of Matlab.  Try this version of PLSGUI and let me know if it works:

https://www.dropbox.com/s/95jt0q1gmj1sf1b/plsgui.zip?dl=0

Hi Dr. McIntosh,

thank you for the link. Unfortunately I am still recieving an error:

Cannot convert double value 99999 to a handle
 
Error in erp_showplot_ui (line 731)
                     bs_wave_hdl(i,j) = 99999;
 
Error in erp_plot_ui>init (line 1376)
   erp_showplot_ui(h0);
 
Error in erp_plot_ui (line 40)
      fig = init(datamat_file, view_option, fig);
 
Error in erp_result_ui (line 81)
   fig = erp_plot_ui({PLSResultFile, 3});
 
Error while evaluating DestroyedObject Callback.
 
Best,
Paul
 



Login to reply to this topic.

  • Keep in touch

Enter your email above to receive electronic messages from Baycrest, including invitations to programs and events, newsletters, updates and other communications.
You can unsubscribe at any time.
Please refer to our Privacy Policy or contact us for more details.

  • Follow us on social
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube

Contact Us:

3560 Bathurst Street
Toronto, Ontario
Canada M6A 2E1
Phone: (416) 785-2500

Baycrest is an academic health sciences centre fully affiliated with the University of Toronto