Skip to Main Content Skip to Search
Product Documentation

The Magic Square Example

About This Example

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.

What Is a Magic Square?

A magic square is simply a square array of integers arranged so that their sum is the same when added vertically, horizontally, or diagonally.

How Do I Access the Examples?

For information on accessing the example files in the product, see matlabroot\toolbox\dotnetbuilder\Examples\VS8\NET.

Watch a Video

Watch a video about deploying applications using MATLAB Builder NE.

For More Information

If you want to...See...
See a complete code sample of integrating the Magic Square component into a .NET applicationThe Magic Square Component in an Enterprise C# Application
Deploy a Web componentWeb Deployment of Figures and Images
Deploy an existing figure or image to the WebWeb Deployment of Figures and Images
Deploy a remotable component.NET Remoting

  


Recommended Products

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