Parametr MATLAB w tytule

str = sprintf('just an example of %d that isnt working', variable)
title(str)
Helpful Hawk