MATLAB POLYSPACE 7 Przewodnik Instalacji Strona 152

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 151
3 Running Functions Command Window and History
Running MATLAB Functions by Hyperlink
Use matlab: to run a specified statement w hen you click a hyperlink in the
Command Window. For example
disp('<a href="matlab:magic(4)">Generate magic square</a>')
displays
When you click the link Generate magic square,MATLABrunsmagic(4).
Alternatively, you can press Ctrl+Enter if the cursor is positioned in the link
text. You can use the
disp, error, fprintf,orwarning function with this
feature. Change the hyperlink color using Colors Preferences see “Colors
Preferences for De sktop Tools” on pag e 2- 70. For more information, including
examples, see the
matlabcolon (matlab:) reference page.
3-14
Przeglądanie stron 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 617 618

Komentarze do niniejszej Instrukcji

Brak uwag