Installing a Matlab App in MATLAB R2012a - matlab

First off I'm not a regular Matlab user, so this might appear as a rather simple question, but how do you install Apps in Matlab R2012a? Is it even possible? I found a link for how to do it in R2012b here, but I can't find any guidelines on how to do it in R2012a.
I have a custom app that was sent to me by a colleague at another research institution, and I think they must have a more recent version of Matlab that us. His instructions were to go to the Apps tab in the tool bar and select Install Apps, but in R2012a, I can only see File, Edit, Debug, Parrallel, Desktop, Window and Help. I've also had a look in the Product Help guide in Matlab, but I couldn't find a relevant entry.
Any help would be greatly appreciated.

I believe MATLAB apps were introduced in R2012b, and that it's not possible to install or use them in earlier releases. You would need to contact your colleague, and ask them to supply an unpackaged version of the application (i.e. just the code).

Related

How to connect Unity with Optitrack through Unity Plugin 1.4.0

I have maybe simple question but can't find answer.
I need to make connection between Optitrack program and unity (using Unity Plugin 1.4.0) as I wrote in the title.
After I find menu to "connect" in both I can't find any guide that show how to do it with available today versions of both programs (almost always it's out of date and they use previous versions of Unity or Optritrack or both with slightly different interface, some options disappear or new appear today).
Or maybe the answer is simple and I can't understand how to do it.
It's my first post here so I hope you understand me properly about my problem.
Thank you in advance for help.
Search through random websites and try to follow the described steps. Every or most of them were out of date and use previous versions of both programs. My every try fail.

Trying to add an add-on with an license that covers it but am being forced to buy it

My university has a total headcount license that covers all major add-ons. I was able to install it, alongside the two add-ons I need (Image Processing Toolbox and Computer Vision System Toolbox) at home with the install wizard.
However, in the lab when I try to add these add-ons to my matlab environment (even when logging in) via the 'Get Add-Ons' option in the menu (Add-On Explorer), I am forced to 'Buy' each toolbox. i.e. I am not offered the option to download it, despite it being covered in my license. Any idea how to get this working/ alternative method?
I should also note, it's not possible to reinstall Matlab as I do not have the permissions required.
For anyone who arrives here after me, just use Matlab Online. Bit of an workaround but it's the only solution I found.
https://matlab.mathworks.com/
This does not exactly answer the question, but nowadays it is not essential to stick to Matlab. Python with OpenCV and Numpy, R are basically free options with no license hassle and lots of support. Plus, you will be able to use your code after graduation :o)

Publishing a .m matlab file to pdf: display latex is blurred / poor quality

I'm using the command publish('myFile.m', 'pdf') within the Matlab gui. The resulting file is crisp and perfect except for any of the LaTex within it which is blurred almost to the point of not being readable. Where do you think the source of this issue is? Are there any workarounds?
Context: I'm using Matlab 2014a on a macbook pro retina. Problem persists for all other generation: issue is with the .png
Note: The whole GUI was completely blurred on install. I have since updated the version of java being used by Matlab using this solution:
cd /Applications/MATLAB_R2013b.app/sys/java/jre/maci64
mv jre jre.orig
ln -s /Library/Java/JavaVirtualMachines/jdk{jdk.version}.jdk/Contents/Home/jre
Linked unanswered question
Answer from Matlab Support
Hello James,
I am writing in reference to your Technical Support Case #01107596
regarding 'LaTex rendering in very low quality when publishing'.
I apologize for the inconvenience you experience. Unfortunately what
you observe is a bug in the way that "publish" renders LaTeX equations
when publishing to .pdf. At the moment there is no direct work-around
for it.
The best indirect work-around is to publish to LaTeX instead of .pdf
and then compile the resulting TeX file using a LaTeX compiler. I
appreciate that this work-flow is sub-optimal. The relevant
development team is already notified about it.
I hope this e-mail clarifies the issue you experience. Once again I am
really sorry for this inconvenience. I will now close this service
request as having a bug report submitted but I will reopen it if you
require further clarifications. Do not hesitate to contact us again if
you have a new query regarding MATLAB's functionality.
Please preserve the Reference ID below in further correspondence on
this query. This allows our systems to automatically associate your
reply to the appropriate Case.
If you have a new technical support question, please submit a new
request here:
http://www.mathworks.com/support/servicerequests/create.html

MATLAB Compiler Runtime - how to run it?

I'm supposed to install the MATLAB compiler runtime for class purposes in one of my subjects at University. I have installed it and followed the guide - and this is my silly question: How do I run it? I mean, shouldn't there be some sort of icon or file I need to click to run the actual program?
It shows up on my list of installed programs (under controlpanel -> programs and features), and I have checked the folders where i installed it, but there doesn't seem to be any file or anything I can use to actually run it.
Maybe I misunderstood the purpose of MCR, but any help would be greatly appreciated.
Also, note that I am still new to anything computer-related that is more advanced than basic HTML and opening zipped files.
This question was already correctly answered in the comments by #seb, but to make sure it does not remain open I will post the answer here:
You need to write Matlab code and generate a .dll (or executable
maybe). Then this .dll can be run on a PC that has either Matlab or
MCR installed. But you don't click and start MCR.
And in addition to that I have added a description of how I see the MCR:
Think of the MCR as a bundle of complicated functions. When you compile a program you will just have the references to those functions in your program. Most of the content will actually be drawn from the MCR when your program is run.
That being said, if you actually want students to work with matlab (not just with programs pre built by the teacher) you will actually need to install Matlab, and not the MCR.

Using SPM5 with MatLab

I am trying to use SPM5, but I have the latest version of MatLab, which does not work with SPM5. The last version of MatLab SPM5 works with is 7.3. Is there a way to downgrade MatLab, or a quick way to port SPM5 over to the current version of MatLab?
I cannot use SPM8 because it does not have the Lateralization Index (LI) tool that I need.
First, have you tried using SPM5 with a more recent version of Matlab? The FIL website simply says that they cannot predict how SPM5 will run on versions after 7.1, not that they are incompatible. I have personally used SPM5 with R2008b (7.7) for years without a problem.
Second, versions after R2008b/7.7 deprecated the call finite() in favor of isfinite(). This caused SPM5 to stop working. I was able to use SPM5 with R2010b (7.11) by replacing all calls to finite() with isfinite(). I don't know if this same strategy would work for more recent versions of Matlab, but it might be worth a shot.
Third, I do know that different versions of Matlab can be installed at the same time. So, if you have a maintenance agreement that allows you to obtain older versions of the software you should be able to install them concurrently without a problem.
If you have a licence for MATLAB that is in maintenance, you have a licence for all previous versions of MATLAB. You should be able to download any recent version by logging on to your MathWorks account. If you need an older version than is available via the website, or have difficulty accessing the version you want, contact MathWorks support directly.