Borrar filtros
Borrar filtros

How to create MATLAB gRPC Client?

73 visualizaciones (últimos 30 días)
Muthukumar Arumugam
Muthukumar Arumugam el 11 de En. de 2022
Comentada: Duncan McLean el 28 de Feb. de 2024
Hi,
I'm trying to create gRPC client in MATLAB.
Followed this
and asked this,
After some struggle, now i have created protoc.exe compiler for matlab following
I have experience in C# and C++ gRPC, and im very new to Matlab.
When i created matlab files from proto with protoc.exe i have cretaed, it created only proto message related files and i couldnot file the files for rpc.
I have attached the created files and sample proto i used.
With C# and C++, compiler used to create client/server files for RPC as well and i was able to use that in my code to configure ip address and call them.
I dont know how to use this created files in matlab client.
If this is not the right way to create MATLAB client for gRPC, please guide me.
Thanks in advance.
  1 comentario
Duncan McLean
Duncan McLean el 28 de Feb. de 2024
I'd love to know if you ever got this working.
If I was to look into this, my first pass would likely be to use gRPC for Java or Python since MATLAB can talk to either language. My experience with both bridges is that they are pretty slow. It's also possible to call C++ directly from MATLAB. I've done that much less, but it's definitely faster if performance is a concern.
Of course those sorts of integrations only work well for one time integrations. If you're looking for a general solution that can start at any .proto file and generate appropriate MATLAB class files then it sounds like you were on the right track.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by