MATLAB串口相关函数参考.pdfVIP

  • 17
  • 0
  • 约3.79万字
  • 约 22页
  • 2021-12-12 发布于福建
  • 举报
概要 serial 创建一个串口对象,格式 :s = serial(coml ) fopen 打开串口对象,格式 :fope n( s) fread 读取串口数据,格式 : fread(s) fclose 关闭串口对象,格式 :fclose(s) free 解除 Matlab 对串口对象的控制,使 serial 其他程序能对该串口进行读写操作 delete 删除对象 s ,格式 :delete( s) clear 从工作空间中删除对象 s ,格式 :clear(s) fopen Open file, or obtain information about open files Syntax fileID = fopen( filename ) fileID = fopen( filename , permission ) fileID = fopen( filename , permission , machineformat ) fileID = fopen( filename , permission , machineformat , encoding )

文档评论(0)

1亿VIP精品文档

相关文档