how we can program ping like functionality in simuink.

조회 수: 1 (최근 30일)
Aditi Gupta
Aditi Gupta 2019년 10월 12일
댓글: Aditi Gupta 2019년 10월 25일
I am trying to simulate a cloud game architecture in simevents.
My basic model is M/M/1 queing system but I am not getting how to calculate return round trip time simevents.
I want to calculate the response time.
For example,scenario is:
Key strokes in the form of entities are going out from client,server recieveing the commands ,process it and then sending back the processed reponse to client.At client i want to calculate the total time used to process one key stroke.Basically ping time.
Is there any way I can calculate response time at client side in simevents/simulink?
  댓글 수: 4
Renato SL
Renato SL 2019년 10월 23일
I think you should read the documentation of Entity Input Switch (here) to see what can be done. Maybe somehow you can use the control port so that the switch does what you want.
In case you want to limit the number of entities generated by Entity Generator 1, then maybe this discussion can help (here).
Aditi Gupta
Aditi Gupta 2019년 10월 25일
Thanks.that solved the purpose.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 SimEvents에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by