Práce se zabývá tvorbou nových bloků Simulinku klient a server pomocí C MEX s-funkce, komunikující skrze protokol TCP se vzdálenými aplikacemi. Využívá rozhraní Windows Sockets 2 pro vytvoření abstrakce soketu a pro snadnou změnu komunikačního protokolu výhody DLL knihovny. Součástí práce je metodika použití bloků a v příloze lze nalézt vzorové úlohy.
Annotation in English
The thesis deals with the creation of new blocks of Simulink client and server using C MEX s-functions, communicating over TCP with remote applications. It uses the Windows Sockets 2 interface to create a socket abstraction and to easily change the communication protocol benefits of the DLL library. Part of the thesis is the use of blocks and the annex can be found sample tasks.
Keywords
Simulink, C MEX s-funkce, TCP, soket, DLL
Keywords in English
Simulink, C MEX s-function, TCP, socket, DLL
Length of the covering note
64 s.
Language
CZ
Annotation
Práce se zabývá tvorbou nových bloků Simulinku klient a server pomocí C MEX s-funkce, komunikující skrze protokol TCP se vzdálenými aplikacemi. Využívá rozhraní Windows Sockets 2 pro vytvoření abstrakce soketu a pro snadnou změnu komunikačního protokolu výhody DLL knihovny. Součástí práce je metodika použití bloků a v příloze lze nalézt vzorové úlohy.
Annotation in English
The thesis deals with the creation of new blocks of Simulink client and server using C MEX s-functions, communicating over TCP with remote applications. It uses the Windows Sockets 2 interface to create a socket abstraction and to easily change the communication protocol benefits of the DLL library. Part of the thesis is the use of blocks and the annex can be found sample tasks.
Keywords
Simulink, C MEX s-funkce, TCP, soket, DLL
Keywords in English
Simulink, C MEX s-function, TCP, socket, DLL
Research Plan
Nastudujte použití S-function v prostředí Matlab/Simulink.
Zprovozněte klient - server komunikaci pomocí vytvořených S-function bloků.
Umožněte různé typy komunikace pomocí dll knihoven.
Vytvořte vzorové úlohy.
Vypracujte metodiku pro použití vytvořených bloků.
Research Plan
Nastudujte použití S-function v prostředí Matlab/Simulink.
Zprovozněte klient - server komunikaci pomocí vytvořených S-function bloků.
Umožněte různé typy komunikace pomocí dll knihoven.
Vytvořte vzorové úlohy.
Vypracujte metodiku pro použití vytvořených bloků.
Recommended resources
SYSEL, Martin. MATLAB/Simulink TCP/IP Communication. In Proceedings of the 15th WSEAS International Conference on Computers. Corfu Island, Greece : WSEAS Press, 2011. s. 71-75. ISBN 978-1-61-804-019-0.
Simulink User\symbol{39}s Guide \matsymb{lbrack}online\matsymb{rbrack}. 2017. Dostupné z: http://www.mathworks.com/help/pdf_doc/simulink/sl_using.pdf
Developing S-Functions \matsymb{lbrack}online\matsymb{rbrack}. 2017. Dostupné z: http://www.mathworks.com/help/pdf_doc/simulink/sfunctions.pdf
PRATA, Stephen. Mistrovství v C++. Praha: Computer Press, 2001. Všechny cesty k informacím. ISBN 80-7226-339-0.
DONAHOO, Michael J. a Kenneth L. CALVERT. TCP/IP sockets in C: practical guide for programmers. 2nd ed. Boston: Morgan Kaufmann, c2009. Morgan Kaufmann practical guides series. ISBN 978-0-12-374540-8.
Recommended resources
SYSEL, Martin. MATLAB/Simulink TCP/IP Communication. In Proceedings of the 15th WSEAS International Conference on Computers. Corfu Island, Greece : WSEAS Press, 2011. s. 71-75. ISBN 978-1-61-804-019-0.
Simulink User\symbol{39}s Guide \matsymb{lbrack}online\matsymb{rbrack}. 2017. Dostupné z: http://www.mathworks.com/help/pdf_doc/simulink/sl_using.pdf
Developing S-Functions \matsymb{lbrack}online\matsymb{rbrack}. 2017. Dostupné z: http://www.mathworks.com/help/pdf_doc/simulink/sfunctions.pdf
PRATA, Stephen. Mistrovství v C++. Praha: Computer Press, 2001. Všechny cesty k informacím. ISBN 80-7226-339-0.
DONAHOO, Michael J. a Kenneth L. CALVERT. TCP/IP sockets in C: practical guide for programmers. 2nd ed. Boston: Morgan Kaufmann, c2009. Morgan Kaufmann practical guides series. ISBN 978-0-12-374540-8.