Is there any builtin function in Matlab that cuts string by the number of characters and returns it as a cell array or something. For example if call A = some_function(strin
A little long may be:
ns = numel(string); n = 3; A = cellstr(reshape([string repmat(' ',1,ceil(ns/n)*n-ns)],n,[])')'