MATLAB: Problem in icalab running

icalab

hi i am getting the following warning and error. Warning: The P-code file icalab.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate icalab.p using MATLAB R2007b or later. Warning: The P-code file icalab_config.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate icalab_config.p using MATLAB R2007b or later. > In C:\Program Files\ICA\ICALAB\FastICA_2.5-2\ICALABIPv2_0\icalab.p>icalab at 59 Warning: The P-code file readimage.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate readimage.p using MATLAB R2007b or later. Warning: The P-code file closechn.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate closechn.p using MATLAB R2007b or later. > In C:\Program Files\ICA\ICALAB\FastICA_2.5-2\ICALABIPv2_0\readimage.p>readimage at 24 Warning: The P-code file imselect.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate imselect.p using MATLAB R2007b or later. > In C:\Program Files\ICA\ICALAB\FastICA_2.5-2\ICALABIPv2_0\readimage.p>readimage at 38 Error using cd Too many input arguments.
Error in C:\Program Files\ICA\ICALAB\FastICA_2.5-2\ICALABIPv2_0\imselect.p>imselect (line 46)
Error in C:\Program Files\ICA\ICALAB\FastICA_2.5-2\ICALABIPv2_0\readimage.p>readimage (line 38)
Error while evaluating uicontrol Callback
Warning: The P-code file icahelp.p was generated prior to MATLAB version 7.5 (R2007b) and will not be supported in a future release. Use pcode to regenerate icahelp.p using MATLAB R2007b or later.

Best Answer

Since it is p-code, it is (almost) impossible to know why an error occurs. As long as your input is correct, the code should yield the correct output. That is the 'agreement' you have with the developer: they can keep their code secret, you have bug-free code. Since apparently this file is generated on a very old Matlab version, there may very well be compatibility issues. There are two solutions to your problem:
  • use the same Matlab version to run this code as it was compiled on (or at least a very old release)
  • get in touch with the developer of this code and ask them to recompile it with a newer Matlab version