Is there any WAMP library similar to Autobahn in python or JavaScript?

조회 수: 2 (최근 30일)
Ujjal Roy
Ujjal Roy 2023년 3월 13일
편집: Saman Ghannadzadeh 2024년 10월 12일
Need to connect to a secure WAMP server. Currently I'm using Autobahn library in JavaScript. Looking for a similar solution in Matlab.

답변 (2개)

Suman
Suman 2023년 3월 15일
Hi Ujjal,
As per my understanding, currently MATLAB doesn't support WAMP like applications. However, you may refer to the following MATLAB answers for possible workarounds:
Thanks,
Suman
  댓글 수: 3
Suman
Suman 2023년 3월 15일
편집: Suman 2023년 3월 15일
Hi Ujjal,
There is no certainty as MATLAB is not primarily used for hosting standalone web applications.
However, MATLAB lets you host MATLAB apps and Simulink simulations as interactive web apps using its own Web App Server.
Please refer to the following MATLAB documentation for details: MATLAB Web App Server Documentation - MathWorks India
Thanks,
Suman
Ujjal Roy
Ujjal Roy 2023년 3월 15일
Hi Suman,
As you might know WAMP is not only limited to web based application, these days WAMP is being used to securely communicate with instruments also, unlike 'TCP/IP', 'GPIB' etc. which does not provide any secure means. WAMP also lets you to make asynchronous communication. The reason I need to use wamp is because an instrument which I started using, supports only WAMP based communication. The interface of that instrument is a web-based API and only way to interact with it is via WAMP, it doesn't even supports 'HTTP'.
I think Mathworks should consider having a WAMP library because Matlab's competitor in the area of 'instrument control', 'LabView' already supports WAMP based communication.

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


Saman Ghannadzadeh
Saman Ghannadzadeh 2024년 10월 12일
편집: Saman Ghannadzadeh 2024년 10월 12일
Sorry to revive an old thread, but I think this needs mentioning for other users.
There seems to a be misunderstaing. The question is not referrring to Windows/Apache/PHP/MySQL, but instead to the Web Application Messaging Protocol. This is a publish/subscribe protocol that is used by some scientific instruments manufacturers for communication with hardware.
To answer the original question, no there is no built-in WAMP client in MATLAB. You can write your own using the existing TCP machinery available in MATLAB, or you could write a MATLAB wrapper around one of C++ WAMP client libraries. wampcc is pretty good.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by