MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guide de l'utilisateur Page 12

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 386
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 11
x
10
Targeting Custom Hardware
Introduction ..............................................10-2
Run-Time Interface .......................................10-4
Creating System Target Files and Template Makefiles ... 10-5
Implementing Device Drivers ............................ 10-7
DeviceDriverBlocks ................................. 10-8
TheS-FunctionFormat ............................... 10-8
RequiredFunctions ................................ 10-9
S-FunctionFileFormat ............................... 10-9
S_FUNCTION_NAMEDefinition.................... 10-11
Level2S-FunctionDefinition ....................... 10-11
DefiningtheSimStruct ............................ 10-11
ConditionalCompilations ............................ 10-12
Initialization....................................... 10-12
ObtainingValuesfromDialogBoxes ................. 10-12
InitializingSizes—InputDevices ................... 10-13
InitializingSizes—OutputDevices.................. 10-14
InitializingSampleTimes .......................... 10-15
InitializingtheI/ODevice.......................... 10-16
CalculatingBlockOutputs ........................... 10-16
AccessingtheHardware ........................... 10-17
ADCOutputs .................................... 10-17
DACOutputs .................................... 10-17
TheTerminationFunction ......................... 10-18
AdditionalIncludeFiles ............................. 10-18
ThePublicRegistrationFunction.................... 10-19
CompilingtheMEX-File ............................. 10-19
ConvertingtheS-FunctiontoaBlock................... 10-19
SettingtheMATLABPath ........................... 10-20
Vue de la page 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 385 386

Commentaires sur ces manuels

Pas de commentaire