RocketPy
RocketPy copied to clipboard
ENH: Simulink Integration
With the implementation of full support for controllers in RocketPy (see issue #274), there will be a need to integrate RocketPy with commonly used control system design tools, such as Simulink.
Therefore, this issue proposes the possibility of using RocketPy as one or more Simulink blocks.
Requirements
-
A Simulink block shall be created, based on, for example, a MATLAB Function block. Such MATLAB Function shall be responsible for running RocketPy under the hood. As already known, RocketPy can already be used in MATLAB. See the useful links below for more info.
-
The end-user should not need to know how to code in Python nor how to use Python.
-
An example with detailed documentation must be created.
Proposed Milestone
This feature should be implemented in a major release with full support for controllers.
Therefore, it can be released with v2.0.0.
Useful Links
-
https://docs.rocketpy.org/en/latest/matlab/matlab.html
-
https://www.mathworks.com/matlabcentral/answers/359575-how-to-run-a-python-code-on-simulink
-
https://www.mathworks.com/help/matlab/getting-started-with-python.html
-
https://www.mathworks.com/help/simulink/ug/example-calculating-statistical-mean-and-standard-deviation.html