From: <cd...@us...> - 2012-08-05 05:52:15
|
Revision: 10828 http://octave.svn.sourceforge.net/octave/?rev=10828&view=rev Author: cdf Date: 2012-08-05 05:52:09 +0000 (Sun, 05 Aug 2012) Log Message: ----------- prepare for release again Modified Paths: -------------- trunk/octave-forge/extra/fpl/inst/fpl_vtk_b64_write_field.m Modified: trunk/octave-forge/extra/fpl/inst/fpl_vtk_b64_write_field.m =================================================================== --- trunk/octave-forge/extra/fpl/inst/fpl_vtk_b64_write_field.m 2012-08-05 05:44:09 UTC (rev 10827) +++ trunk/octave-forge/extra/fpl/inst/fpl_vtk_b64_write_field.m 2012-08-05 05:52:09 UTC (rev 10828) @@ -73,6 +73,12 @@ error ("fpl_vtk_b64_write_field: nodedata and celldata should be cell arrays"); endif + if (! exist ("base64_encode", "builtin")) + warning ("fpl_vtk_b64_write_field: Octave >= 3.7 is required to save in binary format, your data will be saved as ascii"); + fpl_vtk_write_field (basename, mesh, nodedata, celldata, endfile, true); + return; + endif + filename = [basename ".vtu"]; if (! exist (filename, "file")) @@ -231,4 +237,4 @@ fprintf (fid, " </CellData>\n"); endif -endfunction \ No newline at end of file +endfunction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |