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

Need to connect to a secure WAMP server. Currently I'm using Autobahn library in JavaScript. Looking for a similar solution in Matlab.

Answers (2)

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 Comments

Do you have any idea whether in future Matlab will support WAMP?
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
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.

Sign in to comment.

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.

Asked:

on 13 Mar 2023

Edited:

on 12 Oct 2024

Community Treasure Hunt

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

Start Hunting!