MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guide de l'utilisateur Page 169

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 210
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 168
Introduction
4-3
environment with a great deal of flexibility. This flexibility cannot always be
maintained when you use S-functions with the Real-Time Workshop. For
example,itis notpossibletoaccess theMATLABworkspacefromanS-function
that is used with the Real-Time Workshop. However, using the techniques
presentedin this chapter,you can createS-functions for mostapplications that
work with the generated code from the Real-Time Workshop.
Although S-functions provide a generic and flexible solution for implementing
complex algorithms in Simulink, they require significant m emory and
computation resources. Most often the additional resources are acceptable for
real-time ra pid prototyping systems. In many cases, though, additional
resources are unavailable in real-time embedded applications. You can
minimize memory and computational requirements by using the Target
Language Compiler technology provided with the Real-Time Workshop to
inline your S-functions.
Types of S-Functions
The implementation of S-functions changes based on your requirements. This
chapter discusses the typical problems that you may face and how to create
S-functions for applications that need to work with Simulink and the
Real-Time Workshop. These are some (informally defined) common situations:
1 “I’m not concerned with efficiency. I just want to write one version of my
algorithm and have it work in Simulink and the Real-Time Workshop
automatically.”
2 “I have a lot of hand-written code that I need to interface. I want to call my
functionfrom Simulinkand the Real-TimeWorkshopin an efficientmanner.
or said another way:
“I want to create a block for my blockset that will be distributed throughout
my organization. I’d like it to be very maintainable with efficient code. I’d
like my algorithm to exist in one place but work with both Simulink and the
Real-Time Workshop.”
3 “I want to implement a highly optimized algorithm in Simulink and the
Real-Time Workshop that looks like a built-in block and generates very
efficient code.”
Vue de la page 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 209 210

Commentaires sur ces manuels

Pas de commentaire

Sony SLT-A65VL Handbücher

Bedienungsanleitungen und Benutzerhandbücher für CD Spieler Sony SLT-A65VL.
Wir stellen PDF-Handbücher Sony SLT-A65VL zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung






Weitere Produkte und Handbücher für CD Spieler Sony

Modelle Dokumententyp
CDX-V58MP Bedienungsanleitung   Sony CDX-V58MP User's Manual, 4 Seiten
D-VJ85 Bedienungsanleitung   Sony D-VJ85 User manual, 36 Seiten
MDX-C8900R Bedienungsanleitung    Sony MDX-C8900R Manual de usuario, 186 Seiten
HDX266/HDX267W Bedienungsanleitung   Sony HDX266/HDX267W User's Manual, 104 Seiten
CDX-M10 Betriebsanleitung       Sony CDX-M10 Operating Instructions, 116 Seiten
MEX-BT2700 Bedienungsanleitung    Sony MEX-BT2700 User's Manual, 56 Seiten
CDP-M555ES Bedienungsanleitung   Sony CDP-M555ES User's Manual, 48 Seiten
CDX-M30 Bedienungsanleitung       Sony CDX-M30 User's Manual, 144 Seiten
D-E660 Bedienungsanleitung   Sony D-E660 User's Manual, 32 Seiten
D-MJ95 Bedienungsanleitung   Sony D-MJ95 User manual, 28 Seiten
D-F21 Bedienungsanleitung   Sony D-F21 User manual, 24 Seiten
D-E561 Bedienungsanleitung   Sony D-E561 User's Manual, 2 Seiten
CDX-434RF Bedienungsanleitung    Sony CDX-434RF User manual, 4 Seiten
CDP-CX335 Bedienungsanleitung    Sony CDP-CX335 User manual, 68 Seiten
D-E551 Bedienungsanleitung   Sony D-E555 User manual, 2 Seiten
CDX-C910 Bedienungsanleitung    Sony CDX-C910 User manual, 62 Seiten
HAR-D1000 Bedienungsanleitung   Sony HAR-D1000 User's Manual, 36 Seiten
CFD-360 Bedienungsanleitung    Sony CFD-360 User manual, 60 Seiten
D-SJ01 Bedienungsanleitung   Sony D-SJ01 User manual, 24 Seiten
CFD-577 Bedienungsanleitung   Sony CFD-577 User manual, 36 Seiten