Differences between revisions 17 and 18
Revision 17 as of 2010-06-21 23:12:30
Size: 1628
Comment:
Revision 18 as of 2010-06-23 09:44:44
Size: 2982
Comment:
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
== Roadmap ==
||<#D7FAF6>'''Task'''||<#D7FAF6>'''More info'''||<#D7FAF6>'''Priority'''||<#D7FAF6>'''Status'''||
||Integrate external libraries ||[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=a759e7645334eb107603c940ba2b676360ff45f1 commit] ||1 ||<#73FF4D> done ||
||Initial parser handling ||[http://cgit.scilab.org/scilab/commit/?id=de3685819a0d816b5b2c4c19776b4ddc29dcf0eb commit] ||1 ||<#73FF4D> done ||
||Expanded parser handling ||add handling for simulation parameters to [http://conqat.cs.tum.edu/index.php/Simulink_Library CCSM] ||3 ||<#FF4D4D> to do ||
||Create migration pattern schema || ||1 ||<#FFB24D> in progress ||
||Create migration patterns for explicit blocks || ||1 ||<#FFB24D> in progress ||
||Binding compatibility patterns via JAXB ||[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=10cb0fe2357d35e11d5308b4ed808a1c3cc25110 commit] ||1 ||<#73FF4D> done ||
||<-4 #D7FAF6>'''Diagram creation''' ||
||Blocks ||[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=9ca8968ddf8519622cebffd33282e9f11ecc5978 commit] ||1 ||<#FFB24D> in progres ||
||Links || ||1 ||<#FF4D4D> to do ||
||Ports || ||1 ||<#FF4D4D> to do ||
||Annotations ||2 || ||<#FF4D4D> to do ||

Include(GSoC/MenuBar)

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: attachment: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 BR /!\ integer will have it's own type BR /!\ odstate and opar isn't yet available BR

</block>

Roadmap

Task

More info

Priority

Status

Integrate external libraries

[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=a759e7645334eb107603c940ba2b676360ff45f1 commit]

1

done

Initial parser handling

[http://cgit.scilab.org/scilab/commit/?id=de3685819a0d816b5b2c4c19776b4ddc29dcf0eb commit]

1

done

Expanded parser handling

add handling for simulation parameters to [http://conqat.cs.tum.edu/index.php/Simulink_Library CCSM]

3

to do

Create migration pattern schema

1

in progress

Create migration patterns for explicit blocks

1

in progress

Binding compatibility patterns via JAXB

[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=10cb0fe2357d35e11d5308b4ed808a1c3cc25110 commit]

1

done

Diagram creation

Blocks

[http://cgit.scilab.org/scilab/commit/?h=simulinkimport&id=9ca8968ddf8519622cebffd33282e9f11ecc5978 commit]

1

in progres

Links

1

to do

Ports

1

to do

Annotations

2

to do

Weekly reports

  1. [:Contributor_-_Simulink_Import/28_may_2010: 28 May 2010]
  2. [:Contributor_-_Simulink_Import/04_june_2010: 4 June 2010]
  3. [:Contributor_-_Simulink_Import/11_june_2010: 11 June 2010]
  4. [:Contributor_-_Simulink_Import/20_june_2010: 20 June 2010]

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