1/*
2 * untitled_tgtconn.c
3 *
4 * Academic License - for use in teaching, academic research, and meeting
5 * course requirements at degree granting institutions only. Not for
6 * government, commercial, or other organizational use.
7 *
8 * Code generation for model "untitled".
9 *
10 * Model version : 1.0
11 * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017
12 * C source code generated on : Mon Oct 02 12:36:06 2017
13 *
14 * Target selection: ert.tlc
15 * Embedded hardware selection: ARM Compatible->ARM Cortex
16 * Code generation objectives: Unspecified
17 * Validation result: Not run
18 */
19
20#include "rtwtypes.h"
21#define EXTERN_C
22#include <stdio.h>
23#include "ToAsyncQueueTgtAppSvc/ToAsyncQueueTgtAppSvcCIntrf.h"
24#include "RTIOStreamTgtAppSvc/RTIOStreamTgtAppSvcCIntrf.h"
25
26extern void initializeCommService( );
27extern void terminateCommService();
28EXTERN_C void TgtConnBackgroundTask()
29{
30}
31
32EXTERN_C const char *TgtConnInit(int_T argc, char_T *argv[])
33{
34 const char *result = NULL; /* assume success */
35 initializeCommService( );
36 if (startToAsyncQueueTgtAppSvc()) {
37 result = "Could not start ToAsyncQueue app service";
38 return(result);
39 }
40
41 return(result);
42}
43
44EXTERN_C void TgtConnTerm()
45{
46 terminateCommService();
47 terminateToAsyncQueueTgtAppSvc();
48}
49
50EXTERN_C void TgtConnPreStep(int_T tid)
51{
52}
53
54EXTERN_C void TgtConnPostStep(int_T tid)
55{
56}
57
58/* EOF: untitled_tgtconn.c */
59