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

5 visualizzazioni (ultimi 30 giorni)
Need to connect to a secure WAMP server. Currently I'm using Autobahn library in JavaScript. Looking for a similar solution in Matlab.

Risposte (2)

Suman
Suman il 15 Mar 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 Commenti
Suman
Suman il 15 Mar 2023
Modificato: Suman il 15 Mar 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 il 15 Mar 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.

Accedi per commentare.


Saman Ghannadzadeh
Saman Ghannadzadeh il 12 Ott 2024
Modificato: Saman Ghannadzadeh il 12 Ott 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.

Categorie

Scopri di più su Server Management in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by