I have downloaded the matlab software and now i want to use the neural network toolbox?/How do I access the toolbox??
Unfortunately, toolboxes are an additional piece you need to buy separately of the Matlab software. Usually, they cost LOTS of $$$.
Once you download the toolbox, it should be automatically installed by the installer and you can call its functions simply as you will call a native Matlab function.
Related
My question is quite basic to most appropriate levels on consideration. I lack the perception of how can I dump or implement my matlab code on a hardware component like processors or fpga? For eg:
Suppose I create an image processing matlab (object classification/detection) code which needs to detect real time images from drone and identify whether object is human or animal while its one air through the vision of camera, how shall I proceed to implement this matlab code onto a processor or controller and make it run while the drone is on air?
For consideration, take the matlab code is in its raw form for processing any input data and put out an output classified data. What should I do next? Do I need to convert the matlab code to any hdl or .exe format to run it across the hardware platform or is it possible to implement matlab code(.m format) directly into a device for processing and classification. Basically I am not getting how to practically use matlab code and put it into a system. Do I need to use some sort of toolbox or extension code ?
Could you please list down the steps for this process or share some link of website or youtube videos where it has been shown in detail how to harbour this mechanism.
You could use MATLAB Coder to convert your MATLAB code to an executable that can run on your hardware.
Here are a couple of articles from the official MathWorks documentation regarding Code Generation for Image Processing to get you started:
https://www.mathworks.com/help/images/code-generation-for-image-processing.html
https://www.mathworks.com/help/images/code-generation-with-cell-detection.html
How do I create a pre-trained standalone application in MATLAB?
I used the workspace to run the code. I will like to create a standalone application so as to share with others without MATLAB to test the neural network.
Thanks
By stand-alone application, I am guessing that you want to create a GUI (Graphical User Interface) that people can use to test images on your network. If this is the case, you can either use the GUIDE or App Designer frameworks that MATLAB offers.
Note, however, if you plan on using MATLAB to develop this UI, the user will need MATLAB Runtime installed because you are coding in MATLAB. Just as if you created a program in python, the user would need python in order to run the program.
I have recently found a Matlab program (TraitLab) that I would like to try and use, but I do not have a Matlab license. Given that I thought GNU Octave and Matlab are mostly compatible, I tried to run it in octave, but the GUI way to run the program depends on loading a .fig file (now I know that I can use load to get the struct content of that file, but that does not make it a figure I can pass around to various GUI functions), and the headless way to run it reports many parse errors about
nested functions not implemented in this context
Is there an obvious way to get a function written for Matlab that shows these two symptoms to run under Octave?
I have downloaded TraitLab and it is obvious to me that it is a program that will need heavy modification for you to run on octave, which you probably don't have time (or possibly expert knowledge) to implement.
In this case you really only have two other options.
1) Write to the developers and ask them if they could re-implement their code in such a way to make it Octave compatible. I wouldn't hold my breath since it's an academic library, but it's always worth pointing out that there is demand for Octave compatible code. Also given this is old code, it's still worth contacting the stats lab in oxford, since they may have moved to a different codebase that might also suit your needs (e.g. I know that a lot of stats people in oxford have made the switch to julia).
2) In the meantime, if you really want to run this but you don't have matlab, find a matlab installation (e.g. from a friend, or at your university) and create a standalone-version using Matlab's "Application Compiler".
OR
Consider buying matlab. It has a reputation for being prohibitively expensive, partly because University-wide licences do cost an arm and a leg. But for personal use (especially if you are a student?), with the right licence and only the necessary toolkits, it's actually not as prohibitively expensive as you might think.
I have downloaded a matlab code for dithering the images but I don't have the Image Processing toolbox and I don't want to buy it for running this code. Is there any way for running the script?
Many thanks in advance
You can try Octave, or Scilab, or OpenCV, or there are many other open source, and free, alternatives.
But while you're investigating and trying those out, just make sure to measure how much time you're spending on it. If your script uses more than 20 functions from Image processing Toolbox (as you indicated in a comment) then it may be a lot of effort, and depending on how much your time is worth per hour, you may well find it would be better to just buy the toolbox. That's of course just my advice - your choice.
If you're at a university, you will likely be able to get a cheaper educational pricing, or be able to buy the Student edition of MATLAB that includes Image Processing Toolbox. It's also possible to purchase a time-limited license of MATLAB (six months or a year) for a discount, although that pricing is very unadvertised by MathWorks, and you would need to call and speak to a MathWorks account manager to request it.
You can download Scilab , it is a similar platform like Matlab, but it is open source,You dont have to spend your money, You can run matlab code using scilab.
Is it possible to install a MATLAB exe file along with its MCR on a web server and have some front end html code interact with it in terms of inputs and outputs? What web hosting server would be ideal for this? Will php make interacting with the web server easier?
The MATLAB code has multiple inputs that I want to have the user input into a form and each of those text fields corresponds to the a specific input. Once the user presses submit I want to run the MATLAB program on the server with the given inputs, and then display the array of outputs. Is that possible? Sorry, I am pretty savy with MATLAB but not with its Compilers, Coders, etc and not with web development either.
Have a look here:
Options for Deploying MATLAB Applications via the Web
Deploying MATLAB Code as a Web Application
For exactly this use case I created the project NuCompRes. There you also find a legal notice with respect to the MATLAB license.
For this scenario you have two options:
1-Compile your matlab code (no GUI) using MATLAB Builder JA (Java) or MATLAB Builder NE (dot NET). In that way you can create a jar or dll file with your Matlab code that can be invoked inside a web application created in java or aspx. This solution is fine if you have few users over the web. For this approach you need to have/buy the Matlab builder JA/NE in order to compile your matlab code properly.
2-The second approach, is to use MATLAB Production Server. This is a more complex (and more expensive) solution. Basically MATLAB Production Server is a software which must be intalled in a (web) server, which can handle multiple request of MATLAB functions executions at the same time and is able to comunicate java or dot net application with MATLAB code. This software comes in blocks of 24*n users licenses (24 user, 48 users, and so on) and can manage MATLAB functions/libraries created in different MatLab versions.
In both cases you must create in MatLab your core code (the heavy and mathematical part of your computation) and invoke it inside the web application (at this time The Mathworks only supports Java and dot net). The GUI part is not expected to be created in MATLAB.