Using MATLAB with UnetStack3 - matlab

Where I can find the UnetStack API documentation in other programming languages except groovy? I am trying to use MATLAB with UnetStack3. I went through the blog available for the same and was able to perform the action whatever was given in that blog. I want to explore more by Sending data, receiving data, and some more activities. Where I can find the syntax for performing such activities?

MATLAB permits you to run Java code directly in MATLAB scripts. Unet contrib has documentation and some examples on how to use the Java API from MATLAB directly.
See:
https://github.com/org-arl/unet-contrib/tree/master/unetsocket/matlab

Related

converting matlab code to cloud service

I have written Matlab code( musclualr software package), frequently l have seen move application to the cloud service, and now l want to learn cloud computing, l start with my application, but l want to know the aims of converting matlab code to cloud service?
I know that this an old question. Since there could be anyone else looking for answers I will state it here.
I believe what you are trying to achieve is migrating your current matlab application to cloud service.
There are 2 ways that you can do this.
Using Matlab compiler - Matlab compiler lets you create DLL , jar depending on your language. Currently it supports .Net , Java , C/C++ , python etc.However there are limitations for this. As of you can't 100% guarantee that you will be able to rewrite youre entire codebase. and also matlab offers better solution for this scenario.(stated below)
Using Matlab production server - If you are looking to develop web application using your matlab code this is your ultimate solution I believe. matlab production server works like a REST service. you can host your matlab files(.m) inside the production server.
What happens here is matlab compiles your code using matlab compiler and deploy it in their cloud. afterwards you can consume this like a api through their sdk however.
https://in.mathworks.com/help/mps/qs/create-a-deployable-archive-for-matlab-production-server.html
I have attached the link here incase if anyone is interested.

real time audio processing tool in C++

I am trying to record and calculate its spectrum in real time. I wonder what library I should use for this purpose. I need to integrate it into my original C++ code and combine with my image feature. I looked into OpenSmile and it seems not suit for this purpose.
Any suggestions are appreciated!!
Here are the pretty good comparison and evaluation of various audio feature extraction toolboxes.
Main conclusion based on the paper mention in the link below:
1) Essentia: Full function workflow environment for high and low-level features, facilitating audio input, preprocessing and statistical
analysis of output. Written in C++, with Python binding and
export data in YAML or JSON format.
2) Marsyas: Full real-time audio processing standalone framework
for data flow audio processing with GUI and CLI. This program
includes a low-level feature extraction tool built in C++, with an ability
to perform machine learning and synthesis within the framework.The
feature extraction aspects have also been translated to
Vamp plugin format
3)YAAFE Low level feature extraction library designed for computational
efficiency and batch processing by utilizing data flow
graphs, written in C++ with a CLI and bindings for Python and
Matlab
You can find the more details about Graph of Percentage Coverage of Multiple Feature Sets and Graph of Computational Time of Feature Extraction
Tools in the
link.

What kind of API does Matlab's Trading Toolbox use for Interactive Brokers?

Noob question but I'm trying to figure out which API the Matlab Trading Toolbox uses so that I can refer to the proper guide.
The Matlab website says to refer to the Interactive Brokers API guide for details on how to implement a trading system.. http://www.mathworks.com/help/trading/ibtws.createorder.html#inputarg_ibContract
However, when I open the Interactive Broker's guide there are a few versions, such as one for ActiveX, Java, and C++. Which should I use?
https://www.interactivebrokers.com/en/software/api/api.htm
Thanks
Ben
Well, in the link you provided there really isn't any information about MATLAB. I would recommend the IB-MATLAB interface at undocumented MATLAB.
The MathWorks Trading Toolbox uses IB's ActiveX API (this is the reason that it only works on Windows).
On the other hand, IB-Matlab uses the Java-based API.

Octave/Matlab solution for analyzing data coming from network

I am currently doing some research which involves analyzing data coming from different sensors. The way the data is provided is via a network interface. I want to take advantage of the already written procedures available in matlab/octave (error computing, plotting etc).
Which one is the best approach for doing such things:
doing an application in another language and call octave/matlab functions with data received from network?
doing an application in octave/matlab which handles incoming data from network interface?
...
Any other solutions and experiences are highly appreciated.
Thank you,
Iulian
LATER EDIT:
I am more interested in using octave than matlab but currently I'm looking to see a working method.
I've not used it, but there's a sockets package for Octave. If this works, writing the whole application in Octave seems easier to me than dealing with cross-language calling.
The "doing an application in octave/matlab which handles incoming data from network interface?" should be (fairly) easy, as you can easily use Java objects in MATLAB. You can use the Java network interfaces (or possibly a wrapper around them, if that makes it easier for you). I've worked on projects that take this approach to have Java threads handle all the networking and allowing MATLAB to grab results from the Java periodically and display/process them.

BPMB visualization

We need to visualize BP (business process) into BPMN, but NOT by hands using modeler. We need to do it automatically in crm-web-based system written on PHP. I have input data (etc. array, xml, not care...(but not BPEL)), then I need to process it into nice BPMN graph (using SVG).
We have first nice-looking realization of it. We use matrix to draw: several times goes through matrix and optimize graph each time, no no, it working fast, but it not agile, hard to rebuilt, upgrade, add new features... We made this algorithm by ourselves (I mean we didn't find it in google or books). Problem is that we couldn't find any algorithms in the internet. I suppose we don't know correct keywords to do it. Every try returned us to BPEL vis. from BPMN, "Data flow vis." returned modelers...
Please help us to find some algorithms, or give correct keywords to find out information.
Think you're probably looking for "graph layout algorithms". The only library I'm aware of that can (I think) generate BPMN directly is the yFiles library from yWorks. It's not free. They do however offer a free application using the library that does auto-layout. Perhaps you could do some prototyping with that.
If that's not applicable, there are several other options. I'm not aware any of these can generate BPMN symbols directly; you'd have to construct the symbols. However all will auto-layout graphs according to various algorithms. Also all open source/free.
graphviz. Written in C. Quite old now but well used, stable and scalable.
tulip. Newer than graphviz. Haven't used it but heard good things about flexibility and scalability.
see also this post for javascript based options.
There are many more, just google for graph layout algorithms / libraries.
hth.