Running matlab/simulink in python

1 次查看(过去 30 天)
I am trying to call simulink file in python through some function from python. But when I call matlab function in python, the function does not pass input parameters to simulink file and I receive following error:MatlabExecutionError: TIMESPAN parameter must be a real scalar or vector. However, it behaves perfectly when I work only in matlab environment.
  2 个评论
Afraz MEHMOOD CHAUDHRY
its working now. I was not following syntax of python thats why I was getting an error. Thanks

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from Python 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by