Is geotiffread supported by matlab compiler?

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.

 Akzeptierte Antwort

Kojiro Saito
Kojiro Saito am 7 Mai 2018

0 Stimmen

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 Kommentar

Thanks for your so quick answer. I am going to go deeper in the script I picked up from Matlab Central. Best regards,

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by