Index exceeds the number of array elements (0)

2 views (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):
...
else
gui_mainfcn(gui_State, varargin{:}); %%in this line the error occurs
end
% 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)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!