| Contents | Index |
| On this page… |
|---|
This example shows you how to transform a MATLAB function into a deployable MATLAB Builder NE component.
The Magic Square example shows you how to create a .NET component named MagicSquareComp, which contains the MLTestClass class and other files needed to deploy your application.
The MLTestClass wraps a MATLAB function, makesquare.m, which computes a magic square.
Note The examples here use the Windows® deploytool GUI, a graphical front-end interface to MATLAB Compiler software. For information about how to perform these tasks using the command-line interface to MATLAB Compiler software, see the mcc reference page in this User's Guide. |
A magic square is simply a square array of integers arranged so that their sum is the same when added vertically, horizontally, or diagonally.
For information on accessing the example files in the product, see matlabroot\toolbox\dotnetbuilder\Examples\VS8\NET.
Watch a video about deploying applications using MATLAB Builder NE.
| If you want to... | See... |
|---|---|
| See a complete code sample of integrating the Magic Square component into a .NET application | The Magic Square Component in an Enterprise C# Application |
| Deploy a Web component | Web Deployment of Figures and Images |
| Deploy an existing figure or image to the Web | Web Deployment of Figures and Images |
| Deploy a remotable component | .NET Remoting |
![]() | MATLAB Builder NE Prerequisites | Magic Square Example: Creating a .NET Component From MATLAB Code | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |