View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
SDOxlsIF: Excel Interface API for Simulink Data Object

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 201 KB File ID: #20316 Version: 1.1
image thumbnail

SDOxlsIF: Excel Interface API for Simulink Data Object



17 Jun 2008 (Updated )

SDOxlsIF: Useful M-File functions to interface Simulink Data Object with Microsoft Excel worksheet.

| Watch this File

File Information

SDOxlsIF is a set of three M-File functions.

XLSREADSDO enables you to load workspace variables of Simulink Data Object from Excel worksheets.
XLSWRITESDO enables you to save workspace variables of Simulink Data Object to Excel worksheets.

For each package you will use, you should prepare a definition file on your MATLAB path
to define information about how SDOxlsIF works. The definition file can be either
XLS file or MAT file. Through the definition file, you can customize and also localize
your own Excel workbooks. XLSSDOINFO returns the information obtained from the definition file.

SDOxlsIF has already treated following Simulink data classes.

(1) any subclasses of some Simulink classes created by Simulink Data Class Designer
(2) Any classes that Simulink package contains

SDOxlsIF does not use MATLAB functions xlsread/xlswrite/xlsinfo,
and invokes only native methods of Excel OLE Automation server.
In this way, I could fix some problems and cut out some redundant
processes in these functions.

Required Products Simulink Coder
Embedded Coder
MATLAB release MATLAB 7.2 (R2006a)
Other requirements Microsoft Office 2002 Windows 2000, Windows XP(Service Pack2)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
14 Apr 2016 Istvan Rusics


I've tried to run your ENG example, but there is an error at the StructType section.
"Abstract classes cannot be instantiated. Class 'Simulink.StructType' is declared as Abstract."

Comment only
05 Apr 2016 nlogn

nlogn (view profile)

24 Nov 2008 1.1

 - Real-Time Workshop
 - Real-Time Workshop Embedded Coder
to the Products Required.

Contact us