Including a Julia model in Simulink

ufechner7
Fri, 06 May 2022 16:16:58 +0000
Modelling & Simulations

I wrote a nice dynamic model in Julia (https://github.com/ufechner7/KiteModels.jl) and now get the request to include it in Simulink because some people prefer to do control design with Simulink. Any idea what would be the best way to do this?

I would say the model works on a fixed time step, every 50ms it gets a new control input and provides a new system state (vector of vectors) as output. Shell I try to create a dll? Or rather use loose coupling with udp?

17 posts - 3 participants