How to change serial timeout to a double number
2 ビュー (過去 30 日間)
古いコメントを表示
Hello guys,
I have a simple question. I am reading strings from a board with fscanf.
serial_read_timeout = 1; my_nucleo_board.Timeout = serial_read_timeout;
the problem is matlab converts the variable serial_read_timeout to an integer on its own. How can i change it because i want to set the timeout to few miliseconds.
thnak you so much for your help !
4 件のコメント
Karim
2017 年 12 月 22 日
At first glance: either you need to change the settings of your board such that it works with milliseconds or you need to change the function that transmits the data to the board.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!