function installstring = getDefaultTargetInstallNotes(target)
	% Check compiler first, then compiler_sdk
    installstring = scanFile('compiler',target);
    if isempty(installstring)
	    installstring = scanFile('compiler_sdk',target);
    end
end

function str = scanFile(folder, target)
    platform = computer('arch');
    readmeFile = fullfile(matlabroot,'toolbox',folder,'java','resources',[target '_' platform '_readme.txt']);
    if exist(readmeFile, 'file') ~= 2
        readmeFile = fullfile(matlabroot,'toolbox',folder,'java','resources',[target '_readme.txt']);
    end
	fid = fopen(readmeFile, 'r');
	str = '';
	if fid ~= -1
		s = fgets(fid);
		while (s ~= -1)
			str = [str s];
			s = fgets(fid);
		end
		fclose(fid);
	end
end