MATLAB: Does a Cell Table not render a character cell with more than 640 characters in the MATLAB Report Generator

640cellcharactersgeneratorMATLAB Report Generatorreporttable

Why does a Cell Table not render a character cell with more than 640 characters in the MATLAB Report Generator?
In version 1.0 of the MATLAB Report Generator I could create a Cell Table with cells containing more than 640 characters and they would be rendered correctly. However, in version 1.1 of the Report Generator, the Cell Table will render [1xAAA] where AAA is the number of characters in that cell.

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in versions 1.1 through 1.3 of the MATLAB Report Generator. It has been forwarded to our development staff for investigation.
As a workaround, you can try the following:
In $matlabroot/toolbox/rptgen/@rptcomponent/parsevartext.m, change line 63 (MATLAB 6.0 (R12)) or line 68 (MATLAB 6.1 (R12.1)) from
rendervariable(r,varValue,logical(1)), ...
to
rendervariable(r,varValue,logical(1),0), ...
This will allow use of %<expression> syntax without being limited to 640 characters.