FORCESPRO 5.0
  • Chapter
      • 1. Introduction
      • 2. License Variants
      • 3. Installation
      • 4. Backward Compatibility
      • 5. Y2F Interface
      • 6. MathWorks Linear MPC Plugin
      • 7. MathWorks Nonlinear MPC Plugin
      • 8. Low-level interface
      • 9. High-level Interface
      • 10. Simulating your custom controller in Simulink®
      • 11. Examples
      • 12. Parametric problems
      • 13. Code Deployment
      • 14. Licensing
      • 15. Solver Options
      • 16. Modelling Utilities
      • 17. Dumping Problem Formulation and Data
      • 18. Frequently asked questions

10. Simulating your custom controller in Simulink®¶

FORCESPRO provides a Simulink® interface for easy simulation of your custom controllers within existing Simulink® diagrams. Once code has been generated the block transforms into a new block with the appropriate number of ports for your specific configuration. Depending on your controller configuration you will have different input and output ports on your block. The port labels are self-explanatory. Just wire the ports of the FORCESPRO block to other blocks in you Simulink diagram and run the simulation.

Watch an introductory video on how to use the FORCESPRO Simulink® interface here

  • 10.1. Configuration of a custom linear MPC controller using the FORCESPRO Simulink® GUI
    • 10.1.1. Model
    • 10.1.2. Control Objectives
    • 10.1.3. System Constraints
    • 10.1.4. Estimator Settings
  • 10.2. Getting Started - Basic MPC Regulation State Feedback Example
  • 10.3. Real-time control with the Simulink block
    • 10.3.1. Input and Output Ports in the Compact Interface

Back to top

© Copyright 2021, embotech AG.
Created using Sphinx 2.2.2.