defaultalt Field II home page
Point spread function Field II Simulation Program
    Main page
Center for Fast
Ultrasound Imaging
Ultrasound and
Biomechanics Section


Menu Line
Menu Line
   For Matlab 8.10
   For Matlab 8.10
   For Matlab 7.12
   For Matlab 7.10
   For Matlab 7.8
   For Matlab 7
   For Matlab 6
   For Matlab 5
Menu Line
Users guide
Menu Line
Menu Line
Menu Line
Menu Line
Menu Line
Menu Line

Field IIpro

Menu Line


Menu Line

Downloading for Matlab 8.20

A version for 64 bits Matlab 8.20 has been made for Linux, MacOS and Windows 7. It should also work in Windows 8. The latest version fixes a bug in calculating fields from rectangles for short spatial impulse responses. Field II version 3.24 has been compiled for version 8.20 of Matlab for Windows, Mac and Linux.

Note also that for the Windows 64 bits version you have to have the Microsoft Visual Studio 2012 run-time libraries for this version to work. This you can either get by installing the compiler and using mex -setup or download the Microsoft Visual Studio 2012 run-time libraries from the link:

To fix the above windows problem I have made a new version for Windows. This mex file is now compiled with the GNU gcc compiler running under Windows 7 and Matlab 8.10 (2013a). This should hopefully run without any other installations. The download can be found below.

General downloading for Matlab 8.20

The download directory contains a number of compressed tar files. One for each computer type the program is running under (see below). In each are located all the files for the release. The tar file can be downloaded and then expanded to yield all files by using the gzip and tar programs on UNIX workstations or WinZip on PCs.

The new code on this page will work with Matlab 8.20. Use the old code version for other version of Matlab. You can find them under Download in the left menu.

The following operating systems are currently supported:

Operating system
Windows Windows that runs Matlab 8.10, 64 bits, Compiled with gcc Field_II_ver_3_24_windows_gcc.tar.gz Compressed TAR 3.24a, 24/5-2014
Linux Matlab 8.20,
64 bits
Field_II_ver_3_24_linux.tar.gz Compressed TAR 3.24, 12/5-2014
Intel Mac Matlab 8.20 (64 bits) Field_II_ver_3_24_mac.tar.gz Compressed TAR 3.24, 12/5-2014
Windows Windows that runs Matlab 8.20, 64 bits. Compiled with Microsoft Visual Studio 2012 Field_II_ver_3_24_windows.tar.gz Compressed TAR 3.24, 12/5-2014


The tar-file should be downloaded to the directory, that must hold the files. The file is then extracted by writing:

gzip -d "name_of_tar_file".tar.gz
tar -xvf "name_of_tar_file".tar

to uncompress and extract the files. The tar-file can then be deleted.

The files can also be opend using programs like winzip (

The Field II program can now be run from this directory or from an other directory by writing:


where /home/user/field_II/m_files contains the Field II m-files. This ensures that the directory is included in the Matlab search path, and the user-written m-files can then be placed in a separate directory.

Individual files

The individual files in the installation can be found here. From this you can view and download the individual m-files or the executable mex file for Field II.

A number of utility files can be found here. The can be used for displaying the transducer geometry, etc.

Last updated: 1:40 on Sat, 24-May-2014