I receive some strings in UDP. I can see them using fscanf. But I would like to have them in Simulink environment. I tried "UDP Receive" block, but it seems that it's different from fscanf. Is there any way that I can monitor the strings, received via UDP, in Simulink?

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2011년 11월 23일

0 개 추천

You may be able to view the data. Check to see if they are the ASCII value of the corresponding characters.

댓글 수: 1

raymon saadalla
raymon saadalla 2017년 6월 21일
yes I have the samw problem and it is an ASCII value. how can i read it in simulink. I use fscanf in mfile and it works great any idea how to do it in simulink

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2011년 11월 23일

0 개 추천

This older Question contains references to some tools that could be used for monitoring: http://www.mathworks.com/matlabcentral/answers/14040-how-to-read-incoming-packets-from-ethernet-card

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

태그

질문:

2011년 11월 23일

댓글:

2017년 6월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by