export data to spss / pasw

An example of how to successfully export data including variable names to spss.

You are now following this Submission

This example only works with numerical data but can easily be adapted for other data formats. I did not get Robert Schleicher's script to work. The ui did not respond and data was not saved correctly. The latter may be related to the use of periods versus commas.
In addition, this script automatically opens spss and the syntax. So you only need to click on 'run mfile' in matlab and run > all in the automatically opened syntax window of spss.

Cite As

Jesse van Muijden (2026). export data to spss / pasw (https://www.mathworks.com/matlabcentral/fileexchange/29442-export-data-to-spss-pasw), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

This update enables you to use the script as a function for exporting any datamatrix to spss/pasw

1.0.0.0