matlab2009b从入门到精通英文原版_第1页
matlab2009b从入门到精通英文原版_第2页
matlab2009b从入门到精通英文原版_第3页
matlab2009b从入门到精通英文原版_第4页
matlab2009b从入门到精通英文原版_第5页
已阅读5页,还剩988页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、®7Desktop Tools and Development EnvironmentHow to Contact The MathWorksWeb NewsgroupTechnical SupportProduct enhancement suggestions Bug reportsDocumentation error reportsOrder status, license renewals, passcodes Sales, pricing, and general informationcomp.soft-sys.suggest bugs doc service info

2、(Phone)(Fax)The MathWorks, Inc. 3 Apple Hill DriveNatick, MA 01760-2098For contact information about worldwide offices, see the MathWorks Web site.® Desktop Tools and Development Environment© COPYRIGHT 19842009 by The MathWorks, Inc.The software described in this document is furnished unde

3、rnse agreement. The software may be usedor copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, Inc.FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program an

4、d Documentation by, for, or through the federal government of the United States. By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such ter

5、ms are used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014. Accordingly, the terms andconditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of

6、 the Program and Documentation by the federal government (or other entity acquiring for or through the federal government)and shall supersede anying contractual terms or conditions. If this License fails to meet thegovernments needs or is inconsistent in any respect with federal procurement law, the

7、 government agrees to return the Program and Documentation, unused, to The MathWorks, Inc.Trademarksand Simulink are registered trademarks of The MathWorks, Inc. Seefor a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holder

8、s.PatentsThe MathWorks products are protected by one or more U.S. patents. Please seefor more information.Revision HistoryJune 2004October 2004March 2005March 2005June 2005September 2005March 2006September 2006March 2007September 2007March 2008October 2008March 2009September 2009First printingOnline

9、 only Online only Second printing Third printing Online only Online only Online only Online only Online only Online only Online only Online only Online onlyNew for7.0 (Release 14). Formerly part of Using7.0.1 (Release 14SP1)7.0.4 (Release 14SP2)7.0.4 (Release 14SP2)7.0.4 (Release 14SP2)7.1 (Release

10、14SP3)7.2 (Release 2006a)7.3 (Release 2006b)7.4 (Release 2007a)7.5 (Release 2007b)7.6 (Release 2008a)7.7 (Release 2008b)7.8 (Release 2009a)7.8 (Release 2009b).Revised for Revised for Revised forMinor revision for Revised for Revised for Revised for Revised for Revised for Revised for Revised for Rev

11、ised for Revised forContentsStartup and Shutdown1Program. . . .Overview of Starting the1-2Starting theProgram on WindowsPlatforms . . . . . . . . . . . . . . .1-2Starting theProgram from the Windows Desktopor a DOS Window . . . . . . . . . . . .1-3Starting theProgram using File Associations onWindow

12、s Platforms . . . . . . . . . . . .1-3Utility to Change File Associations for WindowsPlatforms . . . . . . . . . . . . . . .1-6Changing File Associations for theProgram fromthe Windows Environment . . . . . . . . . .1-6Program on UNIX Platforms . .Starting the1-7Starting the PlatformsProgram on Maci

13、ntosh. . . . . . . . . . . . . . .1-9Starting theProgram from the MacintoshDesktop . . . . . . . . . . . . . . .1-9Starting theProgram from a Shell on MacintoshPlatforms . . . . . . . . . . . . . . .1-10Program . . . . .Startup Folder for the1-111-111-121-131-131-14What Is the Startup Folder? . . .

14、. . . . . . .Startup Folder on Windows Platforms. . . . . . .Startup Folder on UNIX Platforms . . . . . . . .Startup Folder on Macintosh Platforms . . . . . .Changing the Startup Folder . . . . . . . . . .Startup Options . . . . . . . . . . . . . .About Startup Options . . . . . . . . . . . .Specify

15、ing Startup Options for Windows Platforms . . .Specifying Startup Options for UNIX Platforms . . . .1-171-171-171-19vSpecifying Startup Options for Macintosh Platforms . . .Specifying Startup Options Using the Startup File for the Program, startup.m . . . . . . . . .Commonly Used Startup Options. .

16、. . . . . .1-191-191-20Program . . .Toolbox Path Caching in the1-221-221-221-221-25Program . .About Toolbox Path Caching in theUsing the Cache File Upon Startup . . . . . . . .Updating the Cache and Cache File. . . . . . . .Additional Diagnostics with Toolbox Path Caching . . .Other Startup Topics.

17、. . . . . . . . . . .Error Log Reporter . . . . . . . . . . . . .Passing Perl Variables on Startup . . . . . . . .Startup and Calling Java Software from theProgram . . . . . . . . . . . . . . .1-261-261-261-27Program . . . . . . . . .Program . . . . . . . .Quitting theWays to Quit the Confirm Quitti

18、ng the1-281-281-281-291-29Program . . . . . .Program . Running a Script When Quitting theAbnormal Termination . . . . . . . . . . . .Desktop2Desktop Overview . . . . . . . . . . . . .About the Desktop . . . . . . . . . . . . .Summary of Desktop Tools . . . . . . . . . .2-22-22-4Opening and Arranging

19、 Desktop Tools . . . . . .Opening Desktop Tools . . . . . . . . . . . .Navigating Among Desktop Tools and Documents . . .Closing Desktop Tools . . . . . . . . . . . .Resizing Desktop Tools . . . . . . . . . . . .Moving Tools Within the Desktop . . . . . . . .Undocking Tools to Move Them Outside the

20、Desktop . .Moving Undocked Tools Back onto the Desktop . . . .2-62-62-82-92-102-112-142-152-15Desktop Tools Together . . . . . . . .GrouviContentsizing Available Space on the Desktop. . . . .izing Tools Within the Desktop . . . . . . .Minimizing Tools Within the Desktop . . . . . . .2-172-182-18Open

21、ing and Arranging Desktop Documents . . . .Opening Documents . . . . . . . . . . . .Navigating Among Open Documents Using the Document Bar . . . . . . . . . . . . . . . . .Adjusting the Document Bar . . . . . . . . . .Positioning Documents . . . . . . . . . . . .Moving and Resizing Documents . . . .

22、 . . . . .Closing Documents . . . . . . . . . . . . .Moving Documents Outside of the Desktop (Undocking) . Docking Documents and Tools . . . . . . . . .2-212-212-242-252-262-332-342-372-372-37Documents in a Tool Outside the Desktop . . .GrouManaging Desktop Layouts . . . . . . . . . .Saving a Deskto

23、p Layout . . . . . . . . . . .Reusing a Saved or Predefined Desktop Layout . . . .2-392-392-402-402-412-41a Saved Desktop Layout . . . . . . . .RenaDeleting a Saved Desktop Layout . . . . . . . .esktop Layout. . . . . . .Restoring the DefauExamples of Desktop Arrangements . . . . . . .About These Ex

24、amples . . . . . . . . . . . .Tool Outside of Desktop and Other Tools Grouped Inside Desktop Example . . . . . . . . . . . .ized Tool in Desktop Example. . . . . . .Minimized Tools in Desktop Example . . . . . . .Tiled Documents in Desktop Example . . . . . . .No Empty Document Tiles Example . . . .

25、 . . . .ized Documents Outside of the Desktop Example . Floating (Cascaded) Figures in Desktop Example . . .Undocked Tools and Documents Example . . . . . .2-422-432-432-452-462-502-522-542-552-57Running Frequently Used Statement Groups with Shortcuts . . . . . . . . . . . .2-592-592-592-602-632-64S

26、hortcut? . . . . . . . . .Shortcuts. . . . . . . .Shortcuts Tutorials . . . . . .What Is aWhen to Use Creating RunningShortcuts . . . . . . . . . .Shortcuts . . . . .Editing and OrganizingviiToolbar Shortcuts . . . . . .Customizing2-65Desktop Actions Using the Keyboard . . .Perfor2-682-68Keyboard Ke

27、y Combinations . . . . . . . . . .PerforDesktop Actions Using KeyboardShortcuts . . . . . . . . . . . . . . .2-722-722-732-752-782-84Overview . . . . . . . . . . . . . . . .Choosing a Set of Keyboard Shortcuts . . . . . . .Identifying Keyboard Shortcuts . . . . . . . . .Customizing Keyboard Shortcut

28、s . . . . . . . . .s . .Evaluating and Resolving Keyboard ShortcutExamples of Creating, Modifying, and Deleting KeyboardShortcuts . . . . . . . . . . . . . . .2-86Using Keyboard Shortcuts Settings Files Created on OtherSystems . . . . . . . . . . . . . . .Keyboard Shortcut Restrictions . . . . . . .

29、 . .2-892-90Accessing Tools with the Start Button . . . . . .Viewing Products and Tools with the Start Button . . .Adding Your Own Toolboxes to the Start Button . . . .2-932-932-95. . . . . . .Using Web Browsers from2-1032-1032-1052-106. . . . . . . .About Web Browsers inDisplaying Pages in Web Brow

30、sers . . . . . . . .Web Preferences . . . . . . . . . . . . .Other Desktop Features . . . . . . . . . . .2-1102-1102-1122-113s . . . . . . . .Usings and ContextUsing Toolbar Features . . . . . . . . . . .Viewing Status in the Status Bar. . . . . . . .Sizing, Arranging, and Sorting Columns in Desktop

31、Tools . . . . . . . . . . . . . . . .Selecting Multiple Items . . . . . . . . . . .Cut, Copy, Paste, and Move . . . . . . . . . .Macintosh Platform Differences . . . . . . . .Printing and Page Setup Options for Desktop Tools . . .Accessing The MathWorks on the Web . . . . . . .Managing Your Licenses

32、 . . . . . . . . . . .Check for Updates . . . . . . . . . . . . .2-1132-1152-1162-1172-1192-1222-1232-125viiiContentsUsing Preferences . .Specifying Options for2-1262-1262-1272-128. . . . . . . . .Setting Preferences forSummary of Preferences . . . . . . . . . . .prf . . . . . . . . .Preferences Fil

33、e Setting General Preferences for theApplication . . . . . . . . . . . . . . .General Preferences . . . . . . . . . . . .MAT-Files Preferences . . . . . . . . . . . .Confirmation Dialogs Preferences . . . . . . . .Source Control Preferences . . . . . . . . . .2-1292-1292-1312-1332-137Customizing the

34、 Desktop Using Preferences . . . .Setting Keyboard Preferences for Desktop Tools . . . .Setting Fonts Preferences for Desktop Tools . . . . .Setting Colors Preferences for Desktop Tools . . . . .Setting Toolbars Preferences for Desktop Tools . . . .2-1382-1382-1412-1502-156Accessibility. . . . . . .

35、 . . . . . . . .Software Accessibility Support . . . . . . . . .Documentation Accessibility Support . . . . . . .Assistive Technologies. . . . . . . . . . . .Installation Notes for Accessibility Support . . . . .Troubleshooting . . . . . . . . . . . . . .2-1602-1602-1612-1622-1632-166Running Functio

36、ns d Window andHistory3d Window . . . . . . . . .d Window . . . . . . . . . .d Window . . . . . . . . .Using The About the Opening the Using the3-23-23-23-33-4d Window Prompt . . . . . . .d Window Looks . . . .Changing the Way theRunning Functions and Programs, and Entering Variables . . . . . . . .

37、 . . . . . . .3-53-5d Line Prompt. . .Running Statements at theixExecution . . . . . . . . . . . . .Stop3-83-83-103-11Running External Programs. . . . . . . . . .Evaluating or Opening a Selection . . . . . . . .d Window . . . .Displaying Hyperlinks in thed Window . . .Entering Statements in the3-143

38、-143-153-163-17Case and Space Sensitivity . . . . . . . . . .Cut, Copy, Paste, and Undo Features . . . . . . .Entering Multiple Lines Without Running Them . . . .Entering Multiple Functions in a Line . . . . . . .Entering Multiple-Line (Long) Statements Line Continuation . . . . . . . . . . . . . .3

39、-173-183-193-19d Window . . .Recalling Previous Lines in thed Line . . . . . . .Navigating Above theSee Also . . . . . . . . . . . . . . . .Assistance While Entering Statements . . . . . .Highlighting Syntax to Help Ensure Correct Entries . . .Matching Delimiters (Parentheses) . . . . . . . .3-203-2

40、03-21Completing Statements in thed Window TabCompletion. . . . . . . . . . . . . .3-21Viewing Function Syntax Hints While Entering aStatement . . . . . . . . . . . . . . .3-30Getting Help for a Function Shown in thedWindow or Editor . . . . . . . . . . . .3-353-373-43Finding Functions Using the Func

41、tion Browser . . . .See Also . . . . . . . . . . . . . . . .d Window . . . .Controlling Output in the3-443-443-443-443-453-463-473-473-47Echoing Execution . . . . . . . . . . . . .Suppressing Output . . . . . . . . . . . .d Window . . . . .Paging of Output in theFormatting and Spacing Numeric Output

42、 . . . . . .d Window Display . .Number of Characters ind Window. . . . . . . . .Clearing thed Window Contents . . . . . . .Printing Keea Session Log. . . . . . . . . . . .d Window . . . . . .Finding Text in the3-493-49Introduction . . . . . . . . . . . . . . .Finding Text Currently Displayed in thed

43、Window . . . . . . . . . . . . . . .3-49xContentsIncreasing the Amount of Information Available ford Window . . . . . . .Searching in the3-50Perforan Incremental Search in thedWindow . . . . . . . . . . . . . . .3-51d Window . . . . . .Preferences for the3-563-563-60Text, Display, Accessibility, and

44、 Tab Size Preferences . .See Also . . . . . . . . . . . . . . . .d History Window . . . . . . .Using theOverview of the3-613-613-63d History Window . . . . .d History Window . .Viewing Statements in thePerforActions on Statements in thed HistoryWindow . . . . . . . . . . . . . . .3-633-643-703-70d H

45、istory Window . . . . .d History Window . . . . . .Searching in the Printing thed History Window . .Deleting Entries from thed History . . . . . . . .Preferences for3-723-723-723-733-74d History Preferences . . . . .Overview ofSettings . . . . . . . . . . . . . . . .Saving . . . . . . . . . . . . .

46、. . .See Also . . . . . . . . . . . . . . . .Help, Demos, and Related Resources4Overview of Getting Help. . . . . . . . . .4-2Getting Help for Functions and Blocks . . . . . .Ways to Get Help for Functions and Blocks . . . . .Help for Overloaded Functions . . . . . . . . .When M-File Help Displays in the Help Browser . . . .See Also . . . . . . . . . . . . . . . .4-34-34-44-44-5Searching for Documentation and Demos in the Help Browser . . . . . . . . . . . . . . . .Si

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论