GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • » Octave core
  • » by package
  • » alphabetical

This view

  • Original page
  • New address

GeezerVison is showing octave.sourceforge.io — Function Reference: grabcode

Octave-Forge - Extra packages for GNU Octave
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code

Navigation

Operators and Keywords

Function List:

  • » Octave core
  • » by package
  • » alphabetical

C++ API

: grabcode (url)
: code_str = grabcode (url)

Grab by the publish function generated HTML reports from Octave script files.

The input parameter url must point to a local or remote HTML file with extension ‘.htm’ or ‘.html’ which was generated by the publish function. With any other HTML file this will not work!

If no return value is given, the grabbed code is saved to a temporary file and opened in the default editor.

NOTE: You have to save the file at another location with arbitrary name, otherwise any grabbed code will be lost!

With a return value given, the grabbed code will be returned as string code_str.

An example:

publish ("my_script.m");
grabcode ("html/my_script.html");

The example above publishes ‘my_script.m’ by default to ‘html/my_script.html’. Afterwards this published Octave script is grabbed to edit its content in a new temporary file.

See also: publish.

Package: octave

SourceForge.net Logo
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.