[etherlab-users] generate Simulink block from .xml file

Richard Hacker (MSc Eng) ha at igh-essen.com
Wed May 20 14:59:49 CEST 2009


Hi,

I cannot reproduce your problem. Attached is a screenshot where I successfully 
loaded your xml file and it seems fine.

Note that you cannot enter the name of a .mat file into the EtherCATInfo 
space. If you do not want to wait for the xml parser to parse your xml file 
on every update, you can cache the parsing by loading the file manually:

MatlabPrompt>> ei = EtherCATInfo('/path/to/IDAM_DMD_dk.xml')

and then use ei (note no quotes!) instead of '/path/to/IDAM_DMD_dk.xml' in the 
EtherCATInfo field.

- Richard

On Wednesday 20 May 2009 11:52, Dominik Karolewski wrote:
> Hi,
>
> I have problems to generate the correct Simulink Slave block from the
> '.xml'- file below. I'm missing all the subindices in Simulink block
> in- and outputports. I use the setup.m file in
> opt/etherlab/rtw/blocks/EtherCAT/xml/ to generate the .mat file for the
> Simulink block.
> We are working with MATLAB2007b and EtherLab® Bundle 1.6.
>
> Best Regards
>
> Dipl.-Math. Dominik Karolewski
> Mitarbeiter
>
> IMMS Institut für Mikroelektronik- und Mechatronik-Systeme gGmbH
> Ehrenbergstrasse 27
> D - 98693 Ilmenau
> WWW   : http://www.imms.de

-- 
------------------------------------------------------------------------

Richard Hacker
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Baecker-Str. 34
D-45356 Essen
Tel.: +49 201 / 360-14-16
Fax.: +49 201 / 360-14-14
Mobil: +49 175 6822089
E-mail: ha at igh-essen.com

------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_slave.png
Type: image/png
Size: 82531 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090520/294cbc44/attachment-0003.png>


More information about the Etherlab-users mailing list