How to initialize the workspace for a simulink model from a python script using the matlab engine

3 vues (au cours des 30 derniers jours)
Hi everyone! I've connected a python script to a simulink model as explained in this tutorial https://medium.com/@soutrikbandyopadhyay/controlling-a-simulink-model-by-a-python-controller-2b67bde744ee. What I would like to know now is: my simulink model calls some variables from the workspace, so is there a way to initialize the workspace using the matlab engine in python?

Réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by