export data to spss / pasw

An example of how to successfully export data including variable names to spss.
2K Downloads
Updated 22 Nov 2010

View License

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 (2024). export data to spss / pasw (https://www.mathworks.com/matlabcentral/fileexchange/29442-export-data-to-spss-pasw), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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