Index exceeds the number of array elements (0)

1 view (last 30 days)
Hi folks,
there is this old GUI made with GUIDE which I try to export with Matlab Compiler. If I launch the application from Matlab, everything works fine, but if I try to launch the compiled app, this error occurs:
Index exceeds the number of array elements (0). Error in => xyz.m line 78
This part of code is generated automatically by Matlab and not written by me (auto generated initialization code):
gui_mainfcn(gui_State, varargin{:}); %%in this line the error occurs
% End initialization code - DO NOT EDIT
I don't know how to fix this... it would be a pleasure to get any help.

Answers (0)


Find more on Migrate GUIDE Apps in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!