Ideal Rankine Cycle Builder for .NET Component in C# Application
by David Forstot
04 Dec 2006
(Updated 03 Sep 2010)
Calculate thermodynamic properties of ideal Rankine cycle: MATLAB and C# - Using MWStructArray.
|
Watch this File
|
| File Information |
| Description |
This demo uses MATLAB Builder for .NET to create a .NET component from a MATLAB function rankine.m. The .NET component is then used in a C# project built in Microsoft Visual Studio. A graphical user interface (GUI) was created in C# which calls into the MATLAB created component to compute the thermodynamic properties of an Ideal Rankine cycle.
One point of interest in this demo is the use of the MATLAB struct as input and output of the rankine.m function. The use of a struct requires the data passed into and out of the component use the MWStructArray object from the MWArray Class Library. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Ideal Rankine Cycle GUI
|
| Required Products |
MATLAB Builder NE
MATLAB Compiler
|
| MATLAB release |
MATLAB 7.11 (2010b)
|
| Other requirements |
Microsoft Visual Studio 2008 |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 06 Dec 2006 |
Corrected error in mcodes.
Corrected units in gui and readme. |
| 05 Nov 2009 |
Updated demo for MATLAB R2009b.
Changed readme from Microsoft Word to PowerPoint document.
Improved MATLAB Builder NE compoent management - moved instantiation of object to application startup. |
| 06 Feb 2010 |
Updated for MATLAB R2009b |
| 03 Sep 2010 |
Updated demo for MATLAB R2010b. |
|
Contact us at files@mathworks.com