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

2 次查看(过去 30 天)
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