Giter Club home page Giter Club logo

matlab-autosar-composition's Introduction

example Matlab project For AUTOSAR STRUCTURE

This repo on GitHub.com is a mirror of my local repo which hosted in personal gitea server

This project is used to learn how to generate AutoSar C-code and Arxml.

Model management based on git. (Repository hosted on gitea server running in Thinkpad WSL)

matlab version: 2023b

Folder Structrue :

/Model
    /composition_1
        /component_1
            comp_1_1.slx
        /component_2
            comp_1_2.slx
        ...
    /composition_2
    ...
    StructureModel.slx
    dictionary.sldd
/Harness
    harnessModel.slx
/Script
    ***.m

StructureModel.slx is the main Model which links all componet models


How to use

Use project

When open project(double click it OR pull it into cmd window), main ArchModel will be open; needed folder path are included automaticly

When close project, cleanWorkspace.m run, delete cache files

Scripts

  1. cleanWorkspace.m : delete folders named "*_autosar_rtw" "slprj", files named "*.slxc" "*.autosave"
  2. exCode.m : export code into '/Models/release'

Harness

Harness run will post error message, if arch model has 'DEM/Fim' or 'NvM' block. Move then from arch model to Harness model is ok.


Task To Do :

  • : Create AutoSar model
  • : link componet models
  • : generate code & Arxml
  • : sldd operation
    • : new Enum Structrue
    • : import AllEnum.sldd
  • : about RTE
  • : about NvM
    • : block use
    • : code generate
  • : about DEM/FiM
    • : block use
    • : code generate
  • : Harness
    • : Harness Model test
  • : script operation
    • : clean workspace
    • : export code
    • : import Enum, DataType & Interface...
    • : add or delete 'Nvm'%'DEM/Fim' block for Harness model running
    • : auto connect comps ports(developing...)

matlab-autosar-composition's People

Contributors

changzhen976 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.