Skip to content

yanndebray/magic

Repository files navigation

magic 🪄

MATLAB Magic square deployed as Python Package📦

Install MATLAB Magic square as Python Package

pip install "git+https://github.com/yanndebray/magic.git@main#egg=mdeploy-r2024b&subdirectory=mdeployPythonPackage24b/output/build"

Call from Python

>>> import mdeploy
>>> m = mdeploy.initialize()
>>> m.mymagic(3)
matlab.double([[8.0,1.0,6.0],[3.0,5.0,7.0],[4.0,9.0,2.0]])

Deploy as a Streamlit app 🚀

streamlit-streamlit_app-2025-07-29-13-07-48.webm

Host on Render

free instances will spin down with inactivity, which can delay requests by 50 seconds or more.

Services:

render

About

🪄MATLAB Magic square deployed as Python Package📦

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published