Be the first to rate this file! 12 Downloads (last 30 days) File Size: 81.68 KB File ID: #13218
image thumbnail

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.
Please login to add a comment or rating.
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.

Tag Activity for this File
Tag Applied By Date/Time
external interface David Forstot 22 Oct 2008 08:51:07
builder Cristina McIntire 06 Feb 2009 11:01:23
net Cristina McIntire 06 Feb 2009 11:01:23
c Cristina McIntire 06 Feb 2009 11:01:23
mwstructarray Cristina McIntire 06 Feb 2009 11:01:23
studio Cristina McIntire 06 Feb 2009 11:01:23
mwarray Cristina McIntire 06 Feb 2009 11:01:23
visual Cristina McIntire 06 Feb 2009 11:01:23
structure Cristina McIntire 06 Feb 2009 11:01:23
mwstructarray Seth 13 Oct 2010 23:26:33
mwarray fdgdfgfd 30 Nov 2010 23:02:03

Contact us at files@mathworks.com