Effect of 2017a compiler on image tool box functions in Matlab 2018b

조회 수: 1 (최근 30일)
Pushkar Varde
Pushkar Varde 2019년 7월 29일
답변: Steven Lord 2019년 7월 29일
Hi. I have created a GUI in Matlab 2018b that uses image tool box functions "drawrectangle". Im creating an executable but my compiler version is 2017a. I am experiencing runtime issues and im positive the program stops around the "drawrectangle" line based on expected events path? Is there a solution besides getting newer compiler?

답변 (1개)

Steven Lord
Steven Lord 2019년 7월 29일
The note at the end of the drawrectangle documentation page states that it was introduced in release R2018b. Your installation of release R2017a, even if it has Image Processing Toolbox installed, will not have this function. You will need to use release R2018b or later with both Image Processing Toolbox and MATLAB Compiler to create an executable using this function.
That assumes that drawrectangle is supported for use with MATLAB Compiler. I suspect it is considered a "modular interactive tool" rather than a App or UI to use the terminology on the MATLAB Compiler support page, though I'm not certain. I haven't tried creating an executable using it.

Community Treasure Hunt

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

Start Hunting!

Translated by