MATLAB POLYSPACE 7 Guide d'installation Page 509

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 618
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 508
Publishing to HTML, XML, LaTeX, Word, and PowerPoint Using Cells
c Replace the sample equation with the following TeX equation:
0 \leq x \leq 6\pi
The three lines that display the TeX equation in the published document
now appear as follows in the M-file.
%
% $$0 \leq x \leq 6\pi$$
%
3 Display a selected comment text in a mo nospace font, as follows:
a Position the cursor in the following comment , which appears in line 9.
% Calculate and plot y = sin(x).
b To make the equation y = sin(x) appear in monospace font in the
published document, select the e quation and then select Cell> Insert
Text M a rkup> Monospa ced Text . Line 9 should appear as follows:
% Calculate and plot |y = sin(x)|.
4 To redu ce the size of t he published figur e, select
File > Preferences > E ditor/Debugger > Publishing Images.Inthe
Preferences dialog box, for Resize image, select Restrict height to
and enter
200.ClickOK to close the dialog box.
5 Select File > Save and Publish to HTML.
The HTML file displays in the MATLAB Web Browser, as shown a t the start
of this example, “Example of Publishing with Text M arkup” on page 8-6.
6 By default, MATLAB stores the HTML document, sine_wave.html,and
the associated image files in
d:/mymfiles/html for this example.
The file
sine_wave.m now appears as shown in the following illustration.
8-9
Vue de la page 508
1 2 ... 504 505 506 507 508 509 510 511 512 513 514 ... 617 618

Commentaires sur ces manuels

Pas de commentaire