Skip to main content

Simulink Python binding generator.

Project description

Slxpy

PyPI MATLAB FileExchange

Toolchain for seamlessly generating efficient Simulink-to-Python binding and gymnasium-like environment wrapper.

For smooth integration, it's recommended to read through the wiki carefully

Features

  • Almost complete Simulink and Embedded Coder features support
  • Compatible with a wide range of MATLAB versions
  • Help tuning Simulink code generation config
  • Mininal dependencies and cross-platform, not depending on MATLAB after Simulink code generation step
  • Exchange array data with numpy for efficiency
  • Raw and gymnasium (formerly gym) environment wrapper, with seeding and parameter randomization support
  • Automatic single-node parallelization with vector environment
  • Generate human-readable object __repr__ for ease of use
  • Automatically generate stub file to assist development (with pybind11-stubgen)
  • Compile with all modern C++ compilers

Prerequisities & Installation & Quick start

You need to prepare Python, optionally MATLAB and a C++ compiler to begin with slxpy. See the wiki for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slxpy-1.6.1.tar.gz (319.5 kB view hashes)

Uploaded Source

Built Distribution

slxpy-1.6.1-py3-none-any.whl (366.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page