MATLAB POLYSPACE 7 Installation Guide Page 375

  • Download
  • Add to my manuals
  • Print
  • Page
    / 618
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 374
Running M-Files in the Editor/Debugger
General Display Options, select the check box for E n able datatips in
edit mode.
Using Configurations — Running M-Files with Input
Arguments in the Editor/Debugger
In the Editor/Debugger, you can provide values for a function’s input
arguments using a configuration, and then run that configuration to use the
assigned values. When you are editing a function M-file, use a configuration
as an alternative to running the function in the Command Window. You can
associatemultipleconfigurationswith an M-file, for d ifferent inpu t valu e s.
MATLAB saves the configurations between sessions.
For example, the function
collatzplot_new.m, which computes and plots the
Collatz se que nce for any given positive integ er, requires you to s pe cify the
integer as an input value. Yo u cannot simply run
collatplot_new.m in the
Editor/Debugger b ecause the input v alue is not de fined. One way to specify
the input value is to run the M-file in the Command Window. Configurations
allow you to run
collatzplot_new(specific value) in the Editor/Debugger.
Yo u can also use configurations to provide preparatory o r setup information
prior to running an M -file, whether it takes input arguments or not.
Create and Run a Configuration for an M-file
Follow these steps to create a nd run a configuration for an M-file in the
Editor/Debugger. These steps specify Editor/Debugger toolbar buttons, but
you can also use equivalent items in the Debug menu.
1 Open the file y ou want to run in the Editor/Debugg er. For example, open
collatzplot_new.m by running
cd ([matlabroot '/help/techdoc/matlab_env/examples'])
edit collatzplot_new.m
To work with collatzplot_new.m on your system, save the file to a
directory for which you have write permission. In the exa mple, the file i s
saved to
I:\my_matlab_files\my_mfiles\collatzplot_new.m
6-67
Page view 374
1 2 ... 370 371 372 373 374 375 376 377 378 379 380 ... 617 618

Comments to this Manuals

No comments

Whirlpool DKU5 541 J C IX podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Piekarniki Whirlpool DKU5 541 J C IX.
Dostarczamy 1 pdf podręczników Whirlpool DKU5 541 J C IX do pobrania za darmo według typów dokumentów: Instrukcja Obsługi






Więcej produktów i instrukcji dla Piekarniki Whirlpool

Modele Rodzaj dokumentu
MAG685RVS/P01 Instrukcja Obsługi   Whirlpool MAG685RVS/P01 Instruction for Use, 20 strony
AKP 102/NB/02 Instrukcja Obsługi   Whirlpool AKP 102/NB/02 Instruction for Use, 11 strony
FKQ 89EL P.20 (K)/HA Instrukcja Obsługi       Whirlpool FK 89EL P.20 X/HA Instruction for Use, 80 strony
SLZK 5690 IN Instrukcja Obsługi   Whirlpool SLZK 5690 IN Instruction for Use, 26 strony
FO 87 C.2/E TD IX Instrukcja Obsługi         Whirlpool FO 87.1/E (AN) Instruction for Use, 82 strony
ACM 405/1 Instrukcja Obsługi    Whirlpool ACM 405/1 Instruction for Use [en] [fr] , 108 strony
ML 99 IX A Instrukcja Obsługi      Whirlpool ML 99 IX A Instruction for Use, 48 strony
7OFK 1049LS X RU/HA Instrukcja Obsługi       Whirlpool 7OFK 1049L X RU/HA Instruction for Use [bg] [el] [it] [ua] , 76 strony
BCG 199D P (MI) Instrukcja Obsługi     Whirlpool BC 199DT P XA Instruction for Use, 68 strony
AKS 368/NE Instrukcja Obsługi   Whirlpool AKS 818/NE Instruction for Use [pt] , 10 strony
AKZM 805/IX Instrukcja Obsługi   Whirlpool AKZM 805/IX Instruction for Use [it] , 25 strony
CP 649 FT.2 Instrukcja Obsługi       Whirlpool CP 649 FT.2 Instruction for Use, 88 strony
FK 1039ELS P.20 X/HA Instrukcja Obsługi       Whirlpool 7OFK 1039EL PX RU/HA Instruction for Use, 64 strony
OS 89D IX /HA Instrukcja Obsługi       Whirlpool OS 89D IX /HA Instruction for Use, 76 strony
ACM 406 Instrukcja Obsługi    Whirlpool ACM 406 Instruction for Use, 63 strony
AKP 407/IX Instrukcja Obsługi   Whirlpool AKP 402/IX Instruction for Use, 12 strony
BMZH 5082 SW Instrukcja Obsługi   Whirlpool AKZ 130 Instruction for Use, 8 strony
AKZM 760/WH Instrukcja Obsługi   Whirlpool AKZM 760/WH Instruction for Use, 25 strony
SIM562B Instrukcja Obsługi   Whirlpool SIM562B Instruction for Use, 12 strony
K6G52S(W)/IL Instrukcja Obsługi   Whirlpool K6G52S(W)/IL Instruction for Use, 16 strony