Difference between revisions of "Software tutorial/Software installation"

From Process Model Formulation and Solution: 3E4
Jump to navigation Jump to search
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Getting started}}
Have you already installed the software?  [[Software_tutorial/Getting_started | Jump ahead to the "getting started" section]] of the course tutorial.
Have you already installed the software?  [[Software_tutorial/Getting_started | Jump ahead to the "getting started" section]] of the course tutorial.


Line 7: Line 9:
|-
|-
| width="50%" valign="top"|
| width="50%" valign="top"|
MATLAB is installed on all computers in the John Hodgins Engineering Student Technology Centre (JHE 233A / 234) as well as the Burke Science Building Labs (BSB 241 / 242 / 244 / 249). The most up to date release of MATLAB is version R2010b. While there are some backward compatibility issues when it comes to older versions of MATLAB, for the level of code that will be encountered in this class students should not encounter issues with portability of code.  
MATLAB is installed on all computers in the John Hodgins Engineering Student Technology Centre (JHE 233A, 234) as well as the Burke Science Building Labs (BSB 241, 242, 244, 249). The most up to date release of MATLAB is version R2010b. While there are some backward compatibility issues when it comes to older versions of MATLAB, for the level of code that will be encountered in this class students should not encounter issues with portability of code.  


A MATLAB/SIMULINK student package (version R2010a, good for Windows, Mac, and Linux) is available at the University Book Store for '''$112.95''' (for those students who would like a copy of MATLAB on their laptop or home PC). The student versions comes with the following features:
A MATLAB/SIMULINK student package (version R2010a, good for Windows, Mac, and Linux) is available at the University Book Store for '''$112.95''' (for those students who would like a copy of MATLAB on their laptop or home PC). The student versions comes with the following features:
Line 26: Line 28:
If you have purchased the student version, then please follow the installation instructions that accompany it.
If you have purchased the student version, then please follow the installation instructions that accompany it.
| width="50%" valign="top" |
| width="50%" valign="top" |
Here are some instructions, '''''specific to this course''''' for Windows users that want to use Python for the course.  Linux and Mac users: Python is already installed with your operating system, however, please [[User:Kevindunn | speak to me]] and I can help you customize it, as required for this course.
Python is freely available.  The latest stable version that we recommend for the course is version 2.6, because it is compatible with the external libraries that we will use.
 
== Windows users ==
Here are some instructions, '''''specific to this course''''' for Windows users that want to use Python for the course.  Linux and Mac users: please scroll down for installation instructions.


Python is an [http://en.wikipedia.org/wiki/Open_source_software open source software].  Because of this, various groups have "packaged" the official Python distribution to meet certain needs.  For example:  
Python is an [http://en.wikipedia.org/wiki/Open_source_software open source software].  Because of this, various groups have "packaged" the official Python distribution to meet certain needs.  For example:  
Line 44: Line 49:
|-
|-
| '''Latest version'''
| '''Latest version'''
| 2.6.5.3
| 2.6.5.5
|-
|-
| '''Official download page'''
| '''Official download page'''
| [http://code.google.com/p/pythonxy/wiki/Downloads?tm=2 Link]
| [http://code.google.com/p/pythonxy/wiki/Downloads?tm=2 Link]
|-
| '''''Faster''''' '''download link'''
| [http://maccserver.mcmaster.ca/macc-downloads/pythonxy-2.6.5.3.exe From McMaster webserver] [455 Mb]
|}
|}


Line 59: Line 61:
<li> Continue with the [[Software_tutorial/Getting_started | official course software tutorial ]] to learn how to use Python.
<li> Continue with the [[Software_tutorial/Getting_started | official course software tutorial ]] to learn how to use Python.
</ol>
</ol>
== Mac and Linux users ==
Python is already installed on all Mac computers and most (all?) Linux computers.  If you go to your command prompt (the program is called "Terminal" on Macs), you can type <tt>python</tt> and it will start a bare-bones Python session.
However, we will use the Enthought Python distribution, which is better suited to our course. It contains all the tools that we require.  Please follow these instructions to install it.
* Visit the [http://www.enthought.com/products/edudownload.php academic download section] of Enthought's website.
* Choose your '''operating system''' and fill in your '''McMaster University''' email address
[[Image:Enthought-download.png|borderless|center|400px]]
* Download and install the software.
* It will take some time, because it installs Python and a large collection of libraries (modules).
* Once installed, you can [[Software_tutorial/Getting_started#Mac_users | continue here with the tutorial]].
|}
|}

Latest revision as of 20:08, 15 December 2010

← About the course software (previous step) Tutorial index Next step: Getting started →

Have you already installed the software? Jump ahead to the "getting started" section of the course tutorial.

MATLAB Python

MATLAB is installed on all computers in the John Hodgins Engineering Student Technology Centre (JHE 233A, 234) as well as the Burke Science Building Labs (BSB 241, 242, 244, 249). The most up to date release of MATLAB is version R2010b. While there are some backward compatibility issues when it comes to older versions of MATLAB, for the level of code that will be encountered in this class students should not encounter issues with portability of code.

A MATLAB/SIMULINK student package (version R2010a, good for Windows, Mac, and Linux) is available at the University Book Store for $112.95 (for those students who would like a copy of MATLAB on their laptop or home PC). The student versions comes with the following features:

  • MATLAB version R2010a (Everything you need to get started)
  • Simulink (Will be useful in your control classes)
  • Control System Toolbox
  • Signal Processing Toolbox
  • Signal Processing Blockset
  • Statistics Toolbox
  • Optimization Toolbox
  • Symbolic Math Toolbox
  • Image Processing Toolbox
  • Product Demos

One of the TA's has a student copy on his home PC and considers it a good buy, if you have the extra cash.

If you have purchased the student version, then please follow the installation instructions that accompany it.

Python is freely available. The latest stable version that we recommend for the course is version 2.6, because it is compatible with the external libraries that we will use.

Windows users

Here are some instructions, specific to this course for Windows users that want to use Python for the course. Linux and Mac users: please scroll down for installation instructions.

Python is an open source software. Because of this, various groups have "packaged" the official Python distribution to meet certain needs. For example:

However, for this course, we will use the Python version as distributed from http://www.pythonxy.com/, and called Python(X,Y).

Feature
Official website http://code.google.com/p/pythonxy/
Latest version 2.6.5.5
Official download page Link
  1. Run the software installation after downloading the installation file from the above link, run the program.
  2. The default installation options are perfect for this course.
    Installing-pythonxy.jpg
  3. It can take quite a while to install.
  4. Continue with the official course software tutorial to learn how to use Python.

Mac and Linux users

Python is already installed on all Mac computers and most (all?) Linux computers. If you go to your command prompt (the program is called "Terminal" on Macs), you can type python and it will start a bare-bones Python session.

However, we will use the Enthought Python distribution, which is better suited to our course. It contains all the tools that we require. Please follow these instructions to install it.

  • Visit the academic download section of Enthought's website.
  • Choose your operating system and fill in your McMaster University email address
borderless
  • Download and install the software.
  • It will take some time, because it installs Python and a large collection of libraries (modules).
  • Once installed, you can continue here with the tutorial.