Skip to main content

Generate Python wheel package from Simulink model!

Project description

Simbind CLI

Generate Python Wheel package from Simulink model! Please refer to Wiki to explore the project's capabilities and limitations.

Requirements

  • You need Linux x86-64 machine with installed Matlab.
  • From Matlab side you need Simulink suite with Simulink Coder.
  • You also need pip, gcc, cmake, make and swig. Under Debian-based distros you can install it with
    sudo apt-get install python3-pip build-essential cmake swig
    

Installation

To install from PyPi run

$ pip install simbind 

To clone project you will also need to pull submodules with:

$ git clone --recurse-submodules https://github.com/swag-engineering/simbind-cli.git

Usage

Simbind CLI is a wrapper around Simulink Exporter and Simbind Architect projects and intended to be used as a standalone tool, not as an importable module. If you want to use its functionality programmatically, please refer to subprojects.

$ simbind --help
usage: simbind [-h] --slx-path SLX_PATH [--pkg-name PKG_NAME] [--wheel-out-dir WHEEL_OUT_DIR] [--solver {ode1,ode2,ode3,ode4,ode5}] [--step STEP_SIZE] [--license-text LICENSE_TEXT] [-v]

Tool to generate Python wheel package from Simulink model.

options:
  -h, --help            show this help message and exit
  --slx-path SLX_PATH   Path to Simulink .slx file.
  --pkg-name PKG_NAME   Name of the output Python package. (default: 'model')
  --wheel-out-dir WHEEL_OUT_DIR
                        Path to folder where wheel package will be stored. (default: '.')
  --solver {ode1,ode2,ode3,ode4,ode5}
                        Fixed-step solver. (default: 'ode5')
  --step STEP_SIZE      Fixed step size in seconds. (default: '0.001')
  --license-text LICENSE_TEXT
                        License text that will be included in output Python wheel package. (default: '')
  -v                    Specifies the level of verbosity. Example: -vvv

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

simbind-0.1.6.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

simbind-0.1.6-py3-none-manylinux2010_x86_64.whl (49.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.12+ x86-64

File details

Details for the file simbind-0.1.6.tar.gz.

File metadata

  • Download URL: simbind-0.1.6.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for simbind-0.1.6.tar.gz
Algorithm Hash digest
SHA256 fd71fad5b506ba19252c96bf0a49d7abd36197d6173a5f3727d5752472e3b14c
MD5 2f33b5ec77e8729815d99eaf0d925d06
BLAKE2b-256 701f38966a73229d01ff2477d8929824d00c043e577159e618904facdbb17a8a

See more details on using hashes here.

File details

Details for the file simbind-0.1.6-py3-none-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for simbind-0.1.6-py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0e10cf49462ae24af1a96ed4418446cfeed5ec1e5b730de8551af7ad85d91f6d
MD5 cc63d9c4e48a096a2638bb799a197cf6
BLAKE2b-256 2b6bb0dae5f0185a18b3c87079108dd82d62e4ae2c4501c6f11580ebde625909

See more details on using hashes here.

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