MATLAB POLYSPACE 7 Instalační příručka Strana 442

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 441
6 Editing and Debugging M-Files
If you h ave an active Internet connection, you can watch the Rapid Code
Iteration Usi n g Cells video demo for an overview of the major fun c tionality.
This is the overall process of using cells for rapid code iteration:
1 IntheMATLABEditor/Debugger,enablecellmodebyselectingCell >
Enable Cell Mode.ItemsintheCell menu become selectable. The cell
toolbar appears, unless you had previously hidden it. With cell m ode
enabled, hide or show the toolbar by right-clicking in the Editor/Debugger
menu bar or toolbars and selecting Cell Toolbar from the context menu.
2 Define the boundaries of the cells in an M-file script using cell features.
Cells are denoted by a specialized comment syntax,
%%.Fordetails,see
“Defining Cells” on pag e 6-135.
3 Once y ou define the cells, use cell feature s to navigate quickly from cell to
cell in your file, evaluate the code in a cel l i n the base w orkspace, and view
theresults.Tofacilitateexperimentation, use cell features to modify values
in cells a nd then reevaluate them, to see how different values impact the
result. For details, see “Navigating and Evaluating with Cells” on page
6-139.
4 Cells also facilitate sharing your code and results via cell publishing to a
presentation format. For details, se e “Publishing to HTML, XML, LaTeX,
Word, and PowerPoint Using Cells” on page 8-2.
6-134
Zobrazit stránku 441
1 2 ... 437 438 439 440 441 442 443 444 445 446 447 ... 617 618

Komentáře k této Příručce

Žádné komentáře