matlab-import-export-data
Read or write data files in MATLAB. Use when the task involves tables, spreadsheets, delimited text, or structured files in CSV, Excel, Parquet, JSON, or XML format — including but not limited to importing, exporting, loading, parsing, converting, validating, configuring import options, reading from URLs, handling locales or encodings, diagnosing file errors, and modernizing legacy file I/O code. MATLAB provides built-in functions for these workflows with no additional products required.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-import-export-data --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MATLAB Data Import/Export Guidance for MATLAB data I/O — correct patterns for delimiters, locales, format-specific quirks, and common error messages. ## When to Use - Reading or writing CSV, Excel, Parquet, or JSON files in MATLAB with `readtable`/`writetable`/`detectImportOptions` - Troubleshooting data I/O errors (misleading messages, "file not found" variants) - Reading data from URLs or authenticated REST API endpoints - Importing non-English locale data (European decimals, semicolons) - Validating imported data for silent corruption (NaN, 65535, type widening) - Reading compressed files or JSON with non-identifier keys - Reading or writing text files (use `readlines`/`writelines`, not `fopen`/`fgetl`/`fprintf`) - Reading or writing XML files (use MAXP provider, not legacy JAXP) ## When NOT to Use - Large files that may not fit in memory, or choosing between tall arrays, datastores, and parallel workflows (use `matlab-choose-bigdata-solution` skill) - Database access via ODBC/JDBC — reading, writing, or querying relational databases (use `matlab-read-database` or `matlab-write-database` skill) - SQL-based queries on large CSV/Parquet/JSON files for reduction before analysis (
- When to Use
- When NOT to Use
- General principles
- Topics
- 1. Import Function Selection (Delimiter & Locale Handling)
- 2. Error Message Interpretation
- 3. Import Validation & Data Fidelity
- 4. Reading from URLs & REST APIs
- 5. Readtable/Writetable Patterns
- 6. Text File I/O: readlines/writelines over fopen patterns (R2020b+)
- 7. XML I/O: MAXP over JAXP
- 8. JSON with Non-Identifier Keys (R2024b+)
What does the matlab-import-export-data skill do?
Read or write data files in MATLAB. Use when the task involves tables, spreadsheets, delimited text, or structured files in CSV, Excel, Parquet, JSON, or XML format — including but not limited to importing, exporting, loading, parsing, converting, validating, configuring import options, reading from URLs, handling locales or encodings, diagnosing file errors, and modernizing legacy file I/O code. MATLAB provides built-in functions for these workflows with no additional products required.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-import-export-data --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
