Index exceeds the number of array elements (0)

9 views (last 30 days)
Dominik Müller
Dominik Müller on 16 Sep 2020
Edited: Dominik Müller on 16 Sep 2020
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)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!