フィルターのクリア

How to create MATLAB gRPC Client?

73 ビュー (過去 30 日間)
Muthukumar Arumugam
Muthukumar Arumugam 2022 年 1 月 11 日
コメント済み: Duncan McLean 2024 年 2 月 28 日
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 件のコメント
Duncan McLean
Duncan McLean 2024 年 2 月 28 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by