Serialization of COM object failed.'Microsoft Office Spreadsheet 10.0'could not be restored to its previous state Make sure file tryy_activex1 is in the same directory as your GUI
1.GUIDE Unhandled internal error guidefunc. Error using ==>uitoolsprivaterequestJavaAdapter ‘requestJavaAdapter’ argument must be a handle list 2.Error ActiveX-control creation failed
Error using==>actxcontrol Control creation failed.Invalid ProglD 'OWC10.Spreadsheet.10'
解决办法:
1) Locate the ActiveX control file/s and transfer them to the client computer. Or install the ActiveX control on the target machine. 2) Using a DOS command window, navigate to the directory where the OCX file for the ActiveX control was placed. 3) Register the control using the following command: regsvr32 <myfile>.OCX(或regsvr32 <myfile>.DLL) Where myfile is the name of your ActiveX control. A message should appear indicating success. 4) Run your GUI executable.
Warning: C:Program FilesMathWorksMATLAB Component Runtimev70toolboxlocalpathdef.m not found. Toolbox Path Cache is not being used.Type 'help toolbox_path_cache' for more info.
解决办法:
One way to work around this issue is to create a blank pathdef.m and place it in the directory
$MCR\toolbox\local\
where $MCR is the directory where the MATLAB Component Runtime (MCR) has been installed on your system.Another way to workaround this issue is to create a new copy of startup.m and disable warning messages as follows:
warning off
Ensure that the startup.m file is on the MATLAB path.
Note that after making the modifications, you will need to recompile your application