call your own C and Fortran subroutines from MATLAB as if they were built-in For More Information "External Interfaces"in the matlab documentation provides information on how to write MEX-files. External Interfaces Reference" in the matlab documentation describes the collection of these functions. Both of these are available from Help If you plan to build your own MEX-files, you will need a supported compiler. For the most up-to-date information about compilers, see the support area at themathwOrksWebsite(www.mathworks.com Installing MATLAB This list summarizes the steps in the standard installation procedure. You can perform the installation by simply following the instructions in the dialog boxes presented by the installation program; it walks you through this process 1 Exit any existing copies of MATLAB you have running 2 Insert the MatLAB Simulink Student Version CD in your CD-ROM drive. To start the installation program, run setup. exe from the CD 3 Read the Welcome screen then click Next 4 Enter your name and school name, then click Next 5 Review the software licensing agreement and, if you agree with the terms select Yes and click Next 6 Review the Student Use Policy and, if you satisfy the terms, select Yes and lick next 7 Choose your installation type. Typical installation installs all products custom installation lets you select which products to install. Select the installation type and click Next 8 The Folder Selection dialog box lets you specify the name of the folder into which you want to install MATLAB. You can accept the default destination
Installing on Windows 2-3 call your own C and Fortran subroutines from MATLAB as if they were built-in functions. For More Information “External Interfaces” in the MATLAB documentation provides information on how to write MEX-files. “External Interfaces Reference” in the MATLAB documentation describes the collection of these functions. Both of these are available from Help. If you plan to build your own MEX-files, you will need a supported compiler. For the most up-to-date information about compilers, see the support area at the MathWorks Web site (www.mathworks.com). Installing MATLAB This list summarizes the steps in the standard installation procedure. You can perform the installation by simply following the instructions in the dialog boxes presented by the installation program; it walks you through this process: 1 Exit any existing copies of MATLAB you have running. 2 Insert the MATLAB & Simulink Student Version CD in your CD-ROM drive. To start the installation program, run setup.exe from the CD. 3 Read the Welcome screen, then click Next. 4 Enter your name and school name, then click Next. 5 Review the software licensing agreement and, if you agree with the terms, select Yes and click Next. 6 Review the Student Use Policy and, if you satisfy the terms, select Yes and click Next. 7 Choose your installation type. Typical installation installs all products; custom installation lets you select which products to install. Select the installation type and click Next. 8 The Folder Selection dialog box lets you specify the name of the folder into which you want to install MATLAB. You can accept the default destination
Installing the MATLAB Simulink Student Version folder or specify the name of a different installation folder. If the folder doesn't exist the installer creates it. To continue with the installation click 9 The Confirmation dialog box lets you confirm your installation options. To change a setting, click the Back button. To proceed with the installation click Install Note The installation process installs the online documentation for each product you install. This does not include documentation in PDF format, which is only available at the Math Works Web site. 10 When the installation is complete, verify the installation by starting MATLAB and running one of the demo programs. To start MATLAB, double-click on the MATLAB icon that the installer creates on your desktop To run the demo programs, select Demos from Help Note The MaTLAB simulink Student Version CD must be in your CD-RoM drive to start matLAB 11 Customize any matlab environment options, if desired For example, to include welcome messages, default definitions, or any matlAB expressions that you want executed every time MatlAB is invoked, create a file named startup. m in the SMATLAB\ toolbox\local folder, where sMATLAB is the name of your MATLAB installation folder. Every time you start MATLAB it executes the commands in the startup m file 12 Perform any additional configuration by typing the appropriate command at the MaTlAB command prompt. For example, to configure the matlaB ebook, type notebook -setup. To configure a compiler to work with the MATLAB External Interface type mex -setup 2-4
2 Installing the MATLAB & Simulink Student Version 2-4 folder or specify the name of a different installation folder. If the folder doesn’t exist, the installer creates it. To continue with the installation, click Next. 9 The Confirmation dialog box lets you confirm your installation options. To change a setting, click the Back button. To proceed with the installation, click Install. Note The installation process installs the online documentation for each product you install. This does not include documentation in PDF format, which is only available at the MathWorks Web site. 10 When the installation is complete, verify the installation by starting MATLAB and running one of the demo programs. To start MATLAB, double-click on the MATLAB icon that the installer creates on your desktop. To run the demo programs, select Demos from Help. Note The MATLAB & Simulink Student Version CD must be in your CD-ROM drive to start MATLAB. 11 Customize any MATLAB environment options, if desired. For example, to include welcome messages, default definitions, or any MATLAB expressions that you want executed every time MATLAB is invoked, create a file named startup.m in the $MATLAB\toolbox\local folder, where $MATLAB is the name of your MATLAB installation folder. Every time you start MATLAB, it executes the commands in the startup.m file. 12 Perform any additional configuration by typing the appropriate command at the MATLAB command prompt. For example, to configure the MATLAB Notebook, type notebook -setup. To configure a compiler to work with the MATLAB External Interface, type mex -setup
For more information the installation guide for windows documentation provides additional installation information. This manual is available from p Installing Additional Toolboxes To purchase additional toolboxes, visit the math Works Store at www.mathworks.com/store).Onceyoupurchaseatoolboxtheproductandits nline documentation are downloaded to your computer When you download a toolbox, you receive an installation program for the toolbox. To install the toolbox and its documentation run the installation program by double-clicking on the installer icon. After you successfully install the toolbox, all of its functionality and documentation will be available to you when you start MATLAB
Installing on Windows 2-5 For More Information The Installation Guide for Windows documentation provides additional installation information. This manual is available from Help. Installing Additional Toolboxes To purchase additional toolboxes, visit the MathWorks Store at (www.mathworks.com/store). Once you purchase a toolbox, the product and its online documentation are downloaded to your computer. When you download a toolbox, you receive an installation program for the toolbox. To install the toolbox and its documentation, run the installation program by double-clicking on the installer icon. After you successfully install the toolbox, all of its functionality and documentation will be available to you when you start MATLAB
Installing the MATLAB Simulink Student Version Accessing the Online Documentation(Help) from the Help menu in the MAtLaB Command Window. You can also type helpbrowser at the matlab prompt The Help browser appears x EegnHert-stusertveraicn Begin Here MATLAB Simulink Student Version Reiease 14 best way to get started is to read thoroughly the MATLAB sections (Chapters the Help browser f you dont wwt to take the time to read i thoroughy, here are links to the mos importart sectons How to eet matrices, use the cdon (:)opertor, and woke fanctions to plt data. graphs, and work with images 7-ments Desktop and C pmmerg Mndo ydeo tutong to 2-6
2 Installing the MATLAB & Simulink Student Version 2-6 Accessing the Online Documentation (Help) To access the online documentation (Help), select Full Product Family Help from the Help menu in the MATLAB Command Window. You can also type helpbrowser at the MATLAB prompt. The Help browser appears
Installing on Mac OS X Installing on Mac OS X This section describes the system requirements necessary to install the MATLAB Simulink Student Version on a Macintosh computer. It also provides step-by-step instructions for installing the software and documentation System Requirements Note For the most up-to-date information about system requirements, see the system requirements page, available in the Support area at the MathworksWebsite(www.mathworks.com). MATLAB and simulink Power Macintosh with G4 or G5 processor Mac os X version 10.3.2 256 MB RAM minimum. 512 MB RAM recommended MATLAB and its online help alone require approximately 400 MB of disk X11(X server)for Mac OS X 16-bit graphics or higher adaptor and display(24 bit recommended) CD-ROM drive for installation and program startup Netscape Navigator 4.7 or later, or Microsoft Internet Explorer 5.1 or later, is required MEX-Files automatically load cally linked subroutines that MATLAB can MEX-files are dynami d execute. They provide a mechanism by which you can call your own C and Fortran subroutines from MATLAB as if they were built-in functions 2-7
Installing on Mac OS X 2-7 Installing on Mac OS X This section describes the system requirements necessary to install the MATLAB & Simulink Student Version on a Macintosh computer. It also provides step-by-step instructions for installing the software and documentation. System Requirements Note For the most up-to-date information about system requirements, see the system requirements page, available in the Support area at the MathWorks Web site (www.mathworks.com). MATLAB and Simulink • Power Macintosh with G4 or G5 processor • Mac OS X version 10.3.2 • 256 MB RAM minimum, 512 MB RAM recommended • MATLAB and its online help alone require approximately 400 MB of disk space. • X11 (X server) for Mac OS X • 16-bit graphics or higher adaptor and display (24 bit recommended) • CD-ROM drive for installation and program startup • Netscape Navigator 4.7 or later, or Microsoft Internet Explorer 5.1 or later, is required. MEX-Files MEX-files are dynamically linked subroutines that MATLAB can automatically load and execute. They provide a mechanism by which you can call your own C and Fortran subroutines from MATLAB as if they were built-in functions