How to initialize the workspace for a simulink model from a python script using the matlab engine
2 ビュー (過去 30 日間)
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?