- Main Page
- Modules
- Data Structures
- Files
- Directories

# EpuckSendData.m File Reference

## Functions
| if (strcmp(dataType,'char')) int8(data)
| fwrite (EpuckPort, size,'uint16')
| fwrite (EpuckPort, data,'int8')
else | int16 (data)
| fwrite (EpuckPort, 2 *size,'uint16')
| fwrite (EpuckPort, data,'int16')
## Variables
| function [data]
| size = length(data)
end | return

## Function Documentation

fwrite | ( | EpuckPort | ,
|  | data | ,
|  | 'int16' |  |
| ) |  |  |

fwrite | ( | EpuckPort | ,
|  | 2 * | size,
|  | 'uint16' |  |
| ) |  |  |

fwrite | ( | EpuckPort | ,
|  | data | ,
|  | 'int8' |  |
| ) |  |  |

fwrite | ( | EpuckPort | ,
|  | size | ,
|  | 'uint16' |  |
| ) |  |  |

if | ( | strcmp(dataType,'char') |  | ) |

else int16 | ( | data |  | ) |

## Variable Documentation

function[data]

Initial value:

     EpuckSendData(data, dataType)
    global EpuckPort

end return

size = length(data)