MATLAB REAL-TIME WORKSHOP EMBEDDED CODER - S Bedienungsanleitung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 76
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
21
5.2 Real-Time Workshop Embedded Coder
No parameter set approach is available in RTW EC yet. After discussing the idea
with Roger Aarenstrup, senior application engineer from The Mathworks, a
solution was discussed with The MathWorks development.
The solution that The Mathworks offers in the coming releases is to have a
parameter vector in the Simulink model in Matlab workspace. This vector can be
defined in an external file and accessed by a pointer, external code can therefore
have access to the vector. The example below shows the idea, this has not been
tested in this work but it is a recommendation from The MathWorks.
Figure 5: Example for the parameter set solution
The model in Figure 5 gives the following code:
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 75 76

Kommentare zu diesen Handbüchern

Keine Kommentare