Is geotiffread supported by matlab compiler?

1 view (last 30 days)
I am trying to compile a development using a matlab central toolbox that uses geotiffread from mapping toolbox. I do not have error during compilation but when I execute my binary it crashes when calling geotiffread. Do you have any idea? In advance thanks.

Accepted Answer

Kojiro Saito
Kojiro Saito on 7 May 2018
Yes, geotiffread is supported in MATLAB Compiler. You can check from this link and it says All command line functionality of Mapping Toolbox are supported.
I've checked by compiling the following code to standalone application.
function geotiffreadDeploy(fileName)
[boston,R] = geotiffread(fileName);
figure
mapshow(boston,R);
axis image off
And confirmed it works by using sample data (boston.tif).
geotiffreadDeploy.exe $MATLAB_INSTALL\toolbox\map\mapdata\boston.tif
where $MATLAB_INSTALL is installation folder of MATLAB.
  1 Comment
faiza Boulahya
faiza Boulahya on 9 May 2018
Thanks for your so quick answer. I am going to go deeper in the script I picked up from Matlab Central. Best regards,

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!