Why does a Cell Table not render a character cell with more than 640 characters in the MATLAB Report Generator?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!