fsaxen / ParforProgMon

Progress monitor for matlab parfor (parallel) loops with estimation of the remaining time
BSD 3-Clause "New" or "Revised" License
27 stars 8 forks source link

Removing dependency on the Instrument Control Toolbox #2

Open Dev-iL opened 5 years ago

Dev-iL commented 5 years ago

Is your feature request related to a problem? Please describe. As of now, the tool requires the Instrument Control Toolbox to use udp. While many users have access to this toolbox as part of their license (e.g. Academic), many others don't (this is a complaint seen on FEX).

Describe the solution you'd like There are alternatives to the udp function that is provided by the paid toolbox. To name a couple: TCP/UDP/IP Toolbox and A simple UDP communications application. There is also an open-source implementation of udp in Octave, which could be adapted for this.

With some effort it might be possible to remove this dependency, and instead rely on some OS-specific APIs.

Additional context N/A.

fsaxen commented 5 years ago

Thanks for the suggestions. I'll look into them. Getting rid of dependencies would indeed be quite helpful.

LecrisUT commented 3 years ago

To resurrect this topic. How about using parallel.pool.dataqueue with afterEach listener. With that much of the communication is handled by matlab built in. Although the performance difference is unknown.

fsaxen commented 3 years ago

I think with matlab 2020b it is worth doing a complete overhaul because getting the progress seems much easier and probably more effective. I suggest you to fork my project and only reuse the parts that you find worth having.