About installation of ZeroMQ remote API for Matlab
-
- Posts: 8
- Joined: 06 Apr 2023, 10:05
About installation of ZeroMQ remote API for Matlab
In the User Manual, it says "Matlab clients require the bundled JeroMQ, which installs automatically if not yet present." The first step of using ZeroMQ in Matlab is to install JeroMQ.
However, I do not know how to complete this operation. After I download the code from Github(JeroMhttps://github.com/zeromq/jeromq), it is a file folder named "jeromq-master". Which file do i need to run to install JeroMQ automatically?
However, I do not know how to complete this operation. After I download the code from Github(JeroMhttps://github.com/zeromq/jeromq), it is a file folder named "jeromq-master". Which file do i need to run to install JeroMQ automatically?
-
- Posts: 8
- Joined: 06 Apr 2023, 10:05
Re: About installation of ZeroMQ remote API for Matlab
Are there any more detailed materials or demo about complete procedure to set ZeroMQ in Matlab? There is few related tutorial on the internet.
Re: About installation of ZeroMQ remote API for Matlab
Since it will download and install automatically the first time you use the MATLAB zmqRemoteApi client, you don't need to download it or set it up.
Re: About installation of ZeroMQ remote API for Matlab
Hello, I have followed your replies and I appreciate you pointing us to the right direction but would you mind providing more detailed instructions on how to use it? I tried to follow the examples you directed me to in another post but I can't understand them. I am completely new to CoppeliaSim and Matlab.fferri wrote: 11 Apr 2023, 18:40 Since it will download and install automatically the first time you use the MATLAB zmqRemoteApi client, you don't need to download it or set it up.
Thank you very much!
Re: About installation of ZeroMQ remote API for Matlab
You should be able to run the example directly in MATLAB.
If it is not working for you, please post the error messages you get.
If it is not working for you, please post the error messages you get.
Re: About installation of ZeroMQ remote API for Matlab
Thank you again.
I copy the code from the example and run it and this is what I get:
Unrecognized function or variable 'RemoteAPIClient'.
Error in test (line 1)
client = RemoteAPIClient();
^^^^^^^^^^^^^^^^^
Please keep in mind I am new to this so I am not sure I am doing it correctly.
Thanks again for your help.
Dani
I copy the code from the example and run it and this is what I get:
Unrecognized function or variable 'RemoteAPIClient'.
Error in test (line 1)
client = RemoteAPIClient();
^^^^^^^^^^^^^^^^^
Please keep in mind I am new to this so I am not sure I am doing it correctly.
Thanks again for your help.
Dani
Re: About installation of ZeroMQ remote API for Matlab
It seems you didn't add the directory containing RemoteAPIClient.m (found in programming/zmqRemoteApi/clients/matlab) to the MATLAB search path.
Re: About installation of ZeroMQ remote API for Matlab
Thank you very much,
Just to make sure...

Just to make sure...

Re: About installation of ZeroMQ remote API for Matlab
I copied the files within the folder. Now I don't get an error but I am not getting anything else either:

Should I be seeing something else?
Sorry for all this back and forth.

Should I be seeing something else?
Sorry for all this back and forth.
Re: About installation of ZeroMQ remote API for Matlab
No you don't need to copy files to the Documents/MATLAB directory.
Just add the path (path/to/zmqRemoteApi/clients/matlab) to the MATLAB search path (via the Add Folder button), as explained in the document.

Just add the path (path/to/zmqRemoteApi/clients/matlab) to the MATLAB search path (via the Add Folder button), as explained in the document.
