Ideal Rankine Cycle Excel Add-In
by David Forstot
03 Dec 2006
(Updated 07 Feb 2010)
Integrating MATLAB and Excel - passing structures as input and assigning output to multiple cells.
|
Watch this File
|
| File Information |
| Description |
This demo uses MATLAB Builder for Excel to create an Excel Add-In from a MATLAB function rankine.m. The spreadsheet uses the Add-In to compute the thermodynamic properties of an Ideal Rankine cycle.
Two points of interest to this demo are the use of the MATLAB struct as input and output of the rankine.m function and the distribution of the output values in the struct to multiple cells of the Excel spreadsheet. The use of a struct requires the data passed into and out of the Excel Add-In use the MWStruct object from the MWComUtil library. To distribute the members of the struct into multiple cells for the output, his Add-In is used like an Excel Array function. |
| Acknowledgements |
Ideal Rankine Cycle Gui
inspired this file.
|
| Required Products |
MATLAB Builder EX
MATLAB Compiler
|
| MATLAB release |
MATLAB 7.9 (R2009b)
|
| Other requirements |
Microsoft Excel |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 29 Dec 2008 |
Tim
|
|
|
| 22 May 2008 |
iurjhh uzterg
|
|
|
| Updates |
| 06 Dec 2006 |
Updated readme.doc |
| 06 Dec 2006 |
Fixed units in spreadsheet, mcode, and doc.
Fixed power bug in mcode. |
| 13 Dec 2006 |
cleaned up typos (3) in VBA code
output cells in spreadsheet remain clear untill a value can be computed - previously displayed zeros. |
| 07 Feb 2010 |
Updated to work with MATLAB R2009b |
|
Contact us