MatlabWrapper
Source
- Source kind:
github-repository - URL: https://github.com/karpathy/MatlabWrapper
- Discovery source: https://github.com/karpathy/MatlabWrapper
- License:
NOASSERTION - Distribution policy:
public-summary-local-archive-only - Public mirror status:
summary-only - Content hash:
948a6c1473c28d08255de05bb8ff7aed871260bb862858c2a3ccd6f237a5f863 - First seen: 2026-05-15
- Last changed: 2026-05-15
Classification
- Primary category: Minimal implementations
- Corpus source note: 2026-05-15-karpathy-public-corpus
- Project taxonomy: karpathy-project-taxonomy
- Idea map: karpathy-idea-map
- Topic hub: karpathy-public-work
Summary
MatlabWrapper Andrej Karpathy 27 August 2012 This C++ library is a convenience wrapper around Matlab Engine, especially if you use Eigen matrix library for working with matrices. It should be quite easy to adapt it to other library types as well. Usage Consider the simplest example: You have an lying around and you’d love to run k-means on its rows. But naturally, you don’t feel like re-implementing k-means for Eigen matrices from scratch! So you write: That felt good. Now supose you’ve computing something complicated and would really like to explore it a bit interactively— do a few plots, run some statistics, e…
What This Teaches
- How a complex idea can be compressed into a minimal but working implementation.
- Useful as a reference style for serious small systems rather than decorative demos.
Why It Matters
This matters as part of Karpathy’s broader pattern: compress hard technical systems into readable, inspectable, working artifacts.
Repository Snapshot
- Full name:
karpathy/MatlabWrapper - Default branch:
master - HEAD:
7cb103407da4b61b381a9be749531c21a581dd3d - Stars at crawl: 87
- Forks at crawl: 19
- File count: 5
- README path:
Readme.md - License path: “
- Created: 2012-08-27T08:32:35Z
- Updated: 2026-04-21T08:41:09Z
- Pushed: 2012-08-27T08:36:58Z
Top-Level Structure
[root]: 2include: 1src: 1test: 1
File Extension Profile
.cpp: 2.h: 1.md: 1.txt: 1
Tags / Release-Like Markers
- No git tags found in the shallow local clone.
Sample File Tree
CMakeLists.txtinclude/MatlabWrapper/MatlabWrapper.hReadme.mdsrc/MatlabWrapper.cpptest/test1.cpp
Public Handling Notes
- EXTRACTED: This page records public metadata and a source-grounded summary.
- INFERRED: Full local preservation, when available, is for private/local use unless a license or explicit source policy makes public redistribution safe.
- Do not treat this page as permission to republish unlicensed source text or code wholesale.