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:

  1. by running script in matlab, can reports images.
  2. by running gui script in matlab, clicking 'start' button, can reports images.
  3. 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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -