MATLAB: Heatmap title – Interpreter (AppDesigner)

heatmapinterpreter

Hello, I don't seem to be able to allow underscores in the title of heatmaps (Im using filenams that have underscores in them)
h1.Title = file;
set(h1,'Interpreter','tex');
I have read post's saying that it was not possible but they were dated 2017…I was wondering if was now possible
Thanks
Jason

Best Answer

It still does not support Interpreter. The workaround is to escape the underscore character
h1.Title = strrep(file, '_', '\_')