MATLAB POLYSPACE 7 Installationsanleitung Seite 525

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 618
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 524
Publishing M-Files Using Cells
Note Publishing to Microsoft Word and to PowerPoint features are available
only on Windows systems that have the applications installed. Supported
Word and PowerPoint versions are 2000, 2002, 2003, and 2007.
The published file contains the formatted comments, code with syntax
highlighting and a gray background to distinguish it from results, and results
for e ach cell. It also contains a Contents heading at the top of the file with a
bulleted list of links to the named cells in the rest of the document.
When code in a cell creates or modifies a figure, th e publi shed file in cludes
an image of the figure. If the code in a given cell modifies a figure more than
once, the published file includes only one image of the figure, that being the
last version of the figure.
When publishing to HTML, the M-file code is included at the end of published
HTML file as comments. Use the
grabcode function to extract the code
from the H TM L file.
Function Alternative
From the Command Window, run the publish function to run the M-file and
publish the results. See the
publish function reference page for options you
can set.
About Published M-Files
Published Filenames and Locations
MATLAB names the published file the same as the M-file that produced it,
adding the relevant extension for the selected output format:
.html, .xml,
.tex, .doc,or.ppt. MATLAB sto res this output fil e, al ong with supportin g
files such as images of figure windows, in the
html subdirectory under the
directory containin g the M-file you pub li shed.
For example, when you publish
d:/mymfiles/sine_wave.m to HTML,
MATLAB creates a directory
d:/mymfiles/html that includes the published
document
sine_wave.html. Any figure windows produced by running the
M-file appear as image files in the directory, for example,
sine_wave_img.png.
8-25
Seitenansicht 524
1 2 ... 520 521 522 523 524 525 526 527 528 529 530 ... 617 618

Kommentare zu diesen Handbüchern

Keine Kommentare