https://github.com/tztsai/matopy
Matlab to Python 3 Translator.
https://github.com/tztsai/matopy
lexer matlab parser python python3 syntax-analysis translation
Last synced: about 1 year ago
JSON representation
Matlab to Python 3 Translator.
- Host: GitHub
- URL: https://github.com/tztsai/matopy
- Owner: tztsai
- License: other
- Created: 2024-11-21T15:38:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T16:33:19.000Z (about 1 year ago)
- Last Synced: 2025-01-23T08:41:29.292Z (about 1 year ago)
- Topics: lexer, matlab, parser, python, python3, syntax-analysis, translation
- Language: Python
- Homepage:
- Size: 22.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matlab to Python Translator
MatoPy is a project that translates Matlab code to Python 3. It is an updated version of [smop](https://github.com/victorlei/smop), fixing various issues and updating the translated code from Python 2 to 3.
## Table of Contents
- [Matlab to Python Translator](#matlab-to-python-translator)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Recent Changes](#recent-changes)
## Installation
To install MatoPy, follow these steps:
1. Clone the repository:
```sh
git clone https://github.com/tztsai/MatoPy.git
```
2. Navigate to the project directory:
```sh
cd MatoPy
```
3. Install the required Python packages:
```sh
pip install -r requirements.txt
```
## Usage
To use MatoPy, follow these steps:
1. Ensure that both Python and MATLAB are installed on your system.
2. Run the main script:
```sh
bash translate.sh SOURCE_FILES OUTPUT_DIRECTORY
```
## Contributing
We welcome contributions to MatoPy! If you would like to contribute, please follow these steps:
1. Fork the repository.
2. Create a new branch:
```sh
git checkout -b feature-branch
```
3. Make your changes and commit them:
```sh
git commit -m "Description of your changes"
```
4. Push to the branch:
```sh
git push origin feature-branch
```
5. Create a Pull Request detailing your changes.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Recent Changes
The recent changes for this repository can be found on the [commits page](https://github.com/tztsai/MatoPy/commits).