You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
The Star Wars API (SWAPI) provides open data to explore and analyze the universe: --
You can read this data into MATLAB with the function swapiread. The function imports the data by record or by collection and converts the data to a MATLAB-friendly format for analysis.
Cite As
Heather Gorr, PhD (2026). Star Wars API Reader (https://www.mathworks.com/matlabcentral/fileexchange/65423-star-wars-api-reader), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.3 (3.22 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
