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

3 Ansichten (letzte 30 Tage)
Ujjal Roy
Ujjal Roy am 13 Mär. 2023
Need to connect to a secure WAMP server. Currently I'm using Autobahn library in JavaScript. Looking for a similar solution in Matlab.

Antworten (2)

Suman
Suman am 15 Mär. 2023
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 Kommentare
Suman
Suman am 15 Mär. 2023
Bearbeitet: Suman am 15 Mär. 2023
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 am 15 Mär. 2023
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.

Melden Sie sich an, um zu kommentieren.


Saman Ghannadzadeh
Saman Ghannadzadeh am 12 Okt. 2024
Bearbeitet: Saman Ghannadzadeh am 12 Okt. 2024
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.

Kategorien

Mehr zu Server Management finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by