I sugest to install gdal (http://www.gisinternals.com/query.html?content=filelist&file=release-1400-x64-gdal-1-11-1-mapserver-6-4-1.zip version for Windows in this case). Then you use gdalinfo name_of_the_file_from_which_you_want_the_info.jp2. In matlab, use simply ! gdalinfo name_of_the_file_from_which_you_want_the_info.jp2.
I have tried to download gis internals but in zip it is only showing shell.bat. I ran this file , it opens command prompt but gdalinfo is still not working in matlab..can you help