user interface - MATLAB GUI doesn't run report function properly -
i have designed gui using guide toolbox in matlab. gui after clicking 'start' button, run script generates reports.
i used report generator toolbox configure reports, in script code like:
report(buildbiweeklyreport);
where 'buildbiweeklyreport' contains template consists of title, table, , images , figures.
but after compiled gui , clicked 'start' button, there no images or figures in reports generated. title , table included perfectly, though.
more specifically, there 2 different 'sources' of images in report template. 1 opened .png file, other generated plot function, included in report 'figure snapshot'.
here i've tried:
- by running script in matlab, can reports images.
- by running gui script in matlab, clicking 'start' button, can reports images.
- by running .exe i've compiled, reports won't have images.
i check sure images on path of executable. path may not same path when execute command @ command line. add line in code display current directory executable using (disp('pwd')
).
Comments
Post a Comment