Differences between revisions 37 and 38
Revision 37 as of 2011-03-30 16:18:15
Size: 4069
Editor: localhost
Comment: converted to 1.6 markup
Revision 38 as of 2011-04-26 08:35:28
Size: 3968
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

 1. [[[#projectdescription|Project description]]]
 1. [[[#roadmap|Roadmap]]]
 1. [[[#weeklyreports|Weekly reports]]]
<<TableOfContents>>

Simulink import

Main idea of this project is to create easy method of migrating Simulink diagrams to Xcos, with minimal user involvement.

Project description

See attached SEP: SEP_Simulink_Import.odt

Compatibility Pattern Structure

<!--    Integrator Block Compatibility Pattern -->
<block sim="Integrator" xcos="INTEGRAL_m" description="">

First goes simulink name of block, then xcos, after that you can put description, that will be shown in [TRACE]

<str2int sim="ZeroCross" xcos="nzcross" description="Enable zero-crossing detection">
        <map simVal="off" xcosVal="0"/>
        <map simVal="on" xcosVal="1"/>
</str2int>
<str2int sim="LimitOutput" xcos="rpar" description="">
        <map simVal="off" xcosVal="0"/>
        <map simVal="on" xcosVal="1"/>
</str2int>

Every parameter that in Simulink has String value and in Xcos is Integer

<real xcos="rpar">
        <map simName="UpperStaturationLimit" index="0"/>
        <map simName="LowerSaturationLimit" index="1"/>
</real>

<real xcos="state">
        <map simName="InitialCondition" index="0"/>
</real>

All parameters (rpar, state, ipar, dstate) that have real/integer/etc values
/!\ integer will have it's own type
/!\ odstate and opar isn't yet available

</block>

Roadmap

Task

More info

Priority

Status

Main tasks

Integrate external libraries

commit

1

done

Parser handling

commit

1

done

Expanded parser handling

add handling for simulation parameters to CCSM

3

to do

Create migration pattern schema

1

done

Create migration patterns for explicit blocks

1

in progress

Binding compatibility patterns via JAXB

commit

1

done

Diagram creation

Element placement

1

done

Blocks

commit

1

in progres

SuperBlocks

1

done

Links

1

done

Ports

1

in progress

Annotations

2

in progress

Testing and validation

Trace

1

done

Unitary tests

2

in progress

User documentation

2

in progress

Weekly reports

  1. 28 May 2010

  2. 4 June 2010

  3. 11 June 2010

  4. 20 June 2010

  5. 27 June 2010

  6. 05 July 2010

  7. 11 July 2010

  8. 25 July 2010

  9. 30 July 2010

  10. 9 Aug 2010

  11. 14 Aug 2010

public: Contributor - Simulink Import (last edited 2018-12-16 21:12:56 by yann.debray@scilab-enterprises.com)