I have tried some matlab version (2011a, 2012b, and 2015a). The 2012b doesn't include the Control System Toolbox inside Simulink Library. The 2011a and 2015a do include the Control System Toolbox inside Simulink Library. But these Control System Toolboxes don't include LQR.
You need to compute your LQR controller in MATLAB using functions such as lqr, which have been part of the Control System Toolbox for ages, and then use the LTI block to include your controller into your Simulink model.
Note: what toolbox is and is not included in a release depends on your license, not on the release. What you are saying about R2012b not including the Control System Toolbox in Simulink doesn't make sense.
You can use the streaming and event-based data in MATLAB to build automated trading strategies that react to market events via industry-standard or proprietary trade execution platforms. The toolbox includes functions for analyzing transaction costs, accessing trade and quote pricing data, defining order types, and executing orders.
You can package MATLAB files to create a toolbox to share with others. These files can include MATLAB code, data, apps, examples, and documentation. When you create a toolbox, MATLAB generates a single installation file (.mltbx) that enables you or others to install your toolbox.
In the Package a Toolbox dialog box, click the button and select your toolbox folder. It is good practice to create the toolbox package from the folder level above your toolbox folder. The .mltbx toolbox file contains information about the path settings for your toolbox files and folders. By default, any of the included folders and files that are on your path when you create the toolbox appear on their paths after the end users install the toolbox.
List of the folders and files contained in your toolbox. The listed files and folders are only those files that are located in the top level of the toolbox folder. You cannot navigate through the folders in the Toolbox Packaging dialog box.
By default, if your toolbox contains a P-code file and a MATLAB code file (.m) with the same name in the same folder, MATLAB excludes the .m file from the toolbox. To include both the .p and .m files, clear the Exclude MATLAB script or function files with matching P-files option.
To exclude other files or folders from the toolbox, register them in the text file that is displayed when you click Exclude files and folders. It is good practice to exclude any source control files related to your toolbox.
If MATLAB is unable to find the installation information for an add-on in the list, you must enter a download URL. The download URL is the location where MATLAB can download and install the add-on. When the toolbox is installed, MATLAB installs the add-on using the specified URL.
When the user installs a toolbox, MATLAB installs all additional software in the addons\Toolboxes\AdditionalSoftware folder, where addons is the add-ons default installation folder. For more information about the location of the add-ons default installation folder, see Get and Manage Add-Ons.
If your toolbox contains code that refers to the installation folder of the specified additional software, make these references portable to other computers. Replace the references with calls to the generated function toolboxname\getInstallationLocation.mlx, where toolboxname is the name of your toolbox. For example, if you are creating a toolbox called mytoolbox and want to reference the install location for additional software called mysoftware, replace this codemysoftwarelocation = 'C:\InstalledSoftware\mysoftware\'with this code:mysoftwarelocation = mytoolbox.getInstallationLocation('mysoftware')To enable testing of the toolbox on your computer before packaging the toolbox, click the toolboxname\getInstallationLocation.mlx link at the bottom of the Installation of Additional Software section and enter the installed location of each additional piece of software on your computer.
MATLAB uses the information in the Toolbox Portability section when the user installs the toolbox. If the compatibility check fails because the user has an unsupported platform or MATLAB version, MATLAB displays a warning. However, the user still can install the toolbox.
To create different categories for your examples, place the examples in different subfolders within your toolbox folder. When you add your toolbox folder to the Package a Toolbox dialog box, MATLAB creates a demos.xml file to describe your examples, and takes the example subfolder name as the example category name. Alternatively, you can create your own demos.xml file. The demos.xml file allows recipients to access your examples through the Supplemental Software link at the bottom of the Help browser home page. For more information, see Display Custom Examples.
dd2b598166