Skip to content
Automatically exported from
MATLAB C++ Protocol Buffer
Branch: master
Clone or download
Latest commit 4942348 Oct 31, 2012
Type Name Latest commit message Commit time
Failed to load latest commit information.
protobuflib Initial checkin. Apr 1, 2011
src Adding plugin implementation. Mar 21, 2012
test Initial checkin. Apr 1, 2011
.gitignore converting .hgignore to .gitignore Jan 23, 2012
CONTRIBUTORS.txt Adding plugin implementation. Mar 21, 2012
LICENSE Initial checkin. Apr 1, 2011
README.txt Update readme for v2.4.1. Oct 31, 2012


protobuf-matlab - FarSounder's Protobuf compiler for Matlab
Copyright 2011 FarSounder, Inc.


This package provides a Matlab code generator for version 2.4.1 of Google's
Protocol Buffers compiler (protoc) as well as support libraries for the
generated Matlab code.

Building protoc with Matlab support

1. Get the protobuf source:
   svn co protobuf

2. Get the protobuf-matlab source:
   git clone

3. Add the protobuf-matlab src files to the Google Protobuf src:
   cp -r protobuf-matlab/src protobuf

4. Compile the modified protobuf project.

This should yield a protoc executable with a --matlab_out option. You can now
use protoc to generate Matlab reading and writing code for your .proto file(s).

Matlab support library setup

In order to use the generated Matlab code, you'll need to add the protobuflib
directory to your Matlab path. protobuflib is a collection of .m utility files
used by the generated code.
You can’t perform that action at this time.