MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ECLIPSE User Manual Page 9

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 8
Code generation in Simulink
I
Example:
Sine Wave
Product
3
Constant
Pi n 1
ErrFlag
Analog Input
Pi n 1 ErrFlag
Analog Output
double in1, out1;
in1 = adc_read(1);
out1 = sin(t) + 3 * in1;
dac_write(1, out1);
I
Simulink Coder & Embedded Coder
I
Code generation target
I
Template for “main.c”
I
Template for Makefile
I
I/O blocks
M. Sojka, P. Píša Usable Simulink Embedded Coder Target for Linux RTLWS16 5 / 22
Page view 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 35 36

Comments to this Manuals

No comments