From: per isakson on
I have problems with PUBLISH. Publish doesn't capture all outputs, which are displayed in the command window when I execute the file cell by cell (clicking <Evaluate cell and advance>). I have move the cell around, but I allways miss the output from one cell. In the example below it is the last cell.

What mistake do I do?

My first serious effort to use PUBLISH - might explain the trouble;)

/ per

====================================
Excerpt from m-file
%%
% This call should display the fields of the resulting name/value structure
ipp_examplefun( magic(10), 'Viscosity', 2, 'Pie', pi, 'Description','Hello world' )
%%
% This call should demonstrate an error
ipp_examplefun( magic(9) )
%%
% Another error
ipp_examplefun( rand(10), 'vis', 10, 'pie', 3, 'Description','Hello world' )


====================================
Copy&Paste from the resulting html-file

This call should display the fields of the resulting name/value structure
ipp_examplefun( magic(10), 'Viscosity', 2, 'Pie', pi, 'Description','Hello world' )

The resulting name/value structure has the following fields:
Data: [10x10 double]
Description: 'Hello world'
Pie: 3.1416
Viscosity: 2
Volume: 1


This call should demonstrate an error
ipp_examplefun( magic(9) )

Error using ==> ipp_examplefun at 19
Argument 'Data' failed validation with error:
Expected input to be of size 10x10 when it is actually size 9x9.

Error in ==> InputPreprocessor_demo at 86
ipp_examplefun( magic(9) )


Another error
ipp_examplefun( rand(10), 'vis', 10, 'pie', 3, 'Description','Hello world' )