top of page
Search
inumbright302s70

MATLAB 2012b Activation Key 20: Tips and Tricks for Successful Activation



In Part 1 of this series, I provided an introduction to the new Toolstrip in MATLAB R2012b. I described the basic organization of the Toolstrip, the concepts of global and contextual tabs, and other ways that the Toolstrip adjusts to your current working context. Today, we'll talk about new ways to customize the R2012b Desktop.




matlab 2012b activation key 20



MATLAB has historically provided a number of ways to manage the configuration of your Desktop. You can move windows around, resize them, even undock windows from the main Desktop. You can still do all of those things in R2012b and they pretty much work the same way. The only change in R2012b is that the window controls (maximize, minimize, undock, etc.) have been moved from the window's title bar to a drop down menu in the upper right hand corner of each window. The figure below shows the difference between R2012a and R2012b.


In Part 1, we described how to minimize and restore the Toolstrip. Minimizing the Toolstrip can be very useful when you need to maximize vertical space. But minimizing the Toolstrip is only the tip of the iceberg. There are several new ways in R2012b to customize your Desktop which we'll cover in the following sections.


If you look carefully at the picture above of the Current Folder in R2012b, you'll notice something else that's different. In R2012b, the toolbar in the Current Folder is not there. Don't worry, it hasn't disappeared, it's just in a different place. In R2012b, it's default location is below the Toolstrip. We moved it because in previous versions it could only be as wide as the Current Folder. By putting it under the Toolstrip, it's now as wide as your Desktop. This is very useful if you want to add additional buttons to your Current Folder Toolbar or if your current path happens to be long. Here's what it looks like in R2012b with some extra buttons that I use for easy access to MATLAB reports.


By now, you've probably noticed the light blue toolbar in the top right hand corner of the R2012b Desktop. That's called the Quick Access Toolbar. It's there to provide single click access to the Toolstrip functionality you use most often.


When you open MATLAB R2012b for the first time you'll notice that the Quick Access Toolbar is pre-populated with controls that are used throughout the Desktop including cut/copy/paste and undo/redo. These are useful things, of course, but there's more. Any control from the Toolstrip tabs can be placed in the Quick Access Toolbar so Toolstrip functionality is available to you anytime.


So now let's talk about shortcuts. Shortcuts are small bits of MATLAB code that can be assigned to an icon in the MATLAB Desktop for single-click access. Shortcuts have been in MATLAB for a while. You can still create and use shortcuts in R2012b. They work the same -- they're just managed a bit differently.


Any shortcuts you had in your previous version of MATLAB will be available when you use R2012b. If you have a lot of shortcuts, you can use "Organize Shortcuts" on the Shortcuts tab. Clicking on "Organize Shortcuts" will display the Shortcuts Organizer dialog where you can create new categories and arrange your shortcuts. The categories you create will appear as sections on the Shortcuts tab. Here is an example.


We've added a lot of new customization features in the R2012b MATLAB Desktop. Have you tried out the Quick Access Toolbar or the new Shortcuts tab? How do you like to organize your Desktop? I'd love to hear your thoughts here.


By now many of you have downloaded and installed MATLAB R2012b and have noticed some big changes to the appearance and organization of the MATLAB Desktop. For those who haven't installed R2012b yet, here is a picture of the new Desktop:


When you open R2012b for the first time, you will notice three tabs -- the Home tab, the Plots tab, and the Apps tab. These three tabs are always there no matter what you are doing in MATLAB. For that reason, they are called global tabs. The Home tab, shown above, is where you go to do general purpose operations like creating new files, importing data, managing your workspace, and setting your Desktop layout.


Well, that's all for now. Try out the new Desktop and become familar with the tabs and the contextual behavior of the Toolstrip. Next time, we'll talk about ways to customize the R2012b Desktop including using the Quick Access Toolbar and creating and managing shortcuts.


Please Note: users having installed the software on their computers MUST manually renew the software as per Reactivation instructions further below as soon as the new Activation Key is made available in December. A 30 day grace period is provided.


A complete copy of the MATLAB software must be obtained before it can be installed. The MATLAB software is available to licenses holders on both a DVD and through the The MathWorks website. In addition to the software a file installation key is required for installation. It is possible to install MATLAB either with the matlabAUR package or from the MATLAB installation software directly. The advantage of the matlabAUR package is that it manages dependencies and some of the nuances of the installation process while installing directly from the MATLAB installation software can be done by regular users to their home directories.


The matlabAUR package is designed to allow MATLAB to be integrated into and managed by Arch. Note however, that the package does not contain the installation files, and you are expected to place them in the cloned package folder yourself. It can be problematic to build the package using AUR helpers, so you are expected to do so manually. You can obtain the actual MATLAB software using the installer from the MathWorks website.


Matlab might complain that it cannot find a package. Look at the package name and install it with Pacman, or in the case of x86_64 there are some libraries only in AUR. matlabAUR and matlab-dummyAUR packages contain a list of up-to-date dependencies for the newest Matlab version.


Make sure the correct support package add-ons are installed (webcam or OS Generic Video Interface for example). If running matlab as a user, make sure your user has write permissions to wherever the support packages are being downloaded and installed.


MATLAB should automatically unpack those jars into matlab_root/sys/jxbrowser-chromium/glnxa64/chromium when first opening Help Browser.Remove matlab_root/sys/jxbrowser-chromium/glnxa64/chromium directory to make sure MATLAB uses the latest jxbrowser.


If calls from MATLAB or Simulink to mex (e.g. rapid accelerator) fail with the error *.mexa64 is not a MEX file, even though the resulting file is usable, it may help to edit in either matlab/bin/ or /.matlab7rc.sh by changing the LDPATH_PREFIX variable from its empty default: [6]


In some cases on recent Arch systems matlab is unable to export .mlsettings files, preventing toolbox and some matlab settings from being saved to disk and persisted. These cases come from matlab trying to hard link new files from /tmp directly to the preferences directory (usually /.matlab/release where release is the matlab version, e.g. R2021b). As a workaround, run matlab with the $TMPDIR environment variable set to a folder on the same file system as the preferences directory. [7]


MATLAB can be run within a systemd-nspawn container to maintain a static system and avoid the library issues that often plague matlab installs after significant updates to libraries in Arch. Refer to Systemd-nspawn for detailed information on setting up such containers.


Results for simulation with noise fraction f = 0.8. (A). Simulated patterns and spatial activation maps obtained from 5 methods (4 benchmarks and 1 optimum-cCCA), thresholded at the point with lowest total error rate given by (FPR + FNR) . (B). Sensitivity (blue), specificity (orange), accuracy (gray) and F1 score (yellow), measured by comparing the thresholded activation maps and the simulated pattern. (C). ROC curves for the same 5 methods.


Results for simulation with noise fraction f = 0.85. (A). Simulated patterns and spatial activation maps obtained from 5 methods (4 benchmarks and 1 optimum-cCCA), thresholded at the point with lowest total error rate given by min(FPR + FNR) . (B). Sensitivity (blue), specificity (orange), accuracy (gray) and F1 score (yellow), measured by comparing the thresholded activation maps and the simulated pattern. (C). ROC curves for the same 5 methods.


Smoothing artifact for different analysis methods as a function of noise fraction. (A). Simulated 77 neighborhoods. True activations are limited to the center 33 region (orange part) and all analysis are limited to the center 55 area (blue striped part). The center voxel of the true activation region is always kept active and the number of active neighbors in the center 33 neighborhoods ranges from 0 to 8. (B). One representative case with no active neighbor in the true activation region (s = 0), i.e. only the centermost voxel is active (orange area). (C). Active ratio (AR) maps for different analysis methods as a function of noise fraction, averaging over 100 simulated 77 s = 0 neighborhoods. Horizontal axis labels the noise fraction while vertical axis labels analysis methods, ranked from the weakest to the strongest center dominance constraint in the analysis (top to bottom). (D). One representative case with all 8 neighbors are active in the true activation region (s = 8). (E). Active ratio (AR) maps for different analysis methods as a function of noise fraction, averaging over 100 simulated 77 neighborhoods. (F). Average AR map (AR), combining 0 to 8 active neighbor cases in simulated data, obtained with Eq. (22). All activations are thresholded at FWE


Classification and prediction accuracy between aMCI subjects and normal controls based on activation percentages obtained from different analysis methods (single voxel analysis: blue bars; SV+GS: orange bars; unc-CCA: grey bars; non-negative-cCCA: yellow bars; sum-cCCA: purple bars and optimum-cCCA: green bars) at various significance levels. Dashed black line represents 95th percentile of the null distribution of the predication accuracy calculated from the permutation test. 2ff7e9595c


4 views0 comments

Recent Posts

See All

Comments


bottom of page