File Exchange

image thumbnail

SDOxlsIF: Excel Interface API for Simulink Data Object

version 1.1 (201 KB) by

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



View License

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.

Comments and Ratings (3)

Baker Michael

The name of the fifth sheet of 'SDOxlsIF_V100\SDOxlsIF\sample_ENG\TestFile_ENG.xls' should be changed otherwise MATLAB will through "Abstract classes cannot be instantiated. Class 'Simulink.StructType' is declared as Abstract." .

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."


nlogn (view profile)



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

MATLAB Release
MATLAB 7.2 (R2006a)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today