TreeBagger-Matlab2Cpp

Takes a decision tree trained in Matlab using TreeBagger and converts it to a C++ class.

https://github.com/dhasenfratz/TreeBagger-Matlab2Cpp

You are now following this Submission

This program takes a decision tree trained in Matlab using TreeBagger or the classification tree function ClassificationTree and outputs the header file decTreeConstants.h containing all the branch information. This header file is used by the attached C++ class to make decisions based on presented features in deployed applications.

Cite As

David (2026). TreeBagger-Matlab2Cpp (https://github.com/dhasenfratz/TreeBagger-Matlab2Cpp), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.1.0

-

1.0.0.0

-

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.