필터 지우기
필터 지우기

what is the difference between simulink objects and mpt objects

조회 수: 5 (최근 30일)
Chandrasekhar
Chandrasekhar 2013년 6월 30일
댓글: Sabarirajan 2020년 6월 19일
i`m trying to generate code for a model using embedded coder. when I wanted to define objects for parameters and signals there are mpt and Simulink objects. please let me know the difference between them

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 7월 1일
This previous answer might be of help.
  댓글 수: 2
Chandrasekhar
Chandrasekhar 2013년 7월 1일
actually, I thought the same. But I just want to know if there is any thing else.
Thanks Kaustubha
Astik Sachan
Astik Sachan 2016년 11월 3일
Apart from Custom Data Types and things as told above , " mpt objects" have " CUSTOM ATTRIBUTES"
That Incude follows,
Memory Section : you can choose where you want your variables to go after the code generation.
Header File : you can mention your haeder file name in which you want to intialize that object.
Similarly Owner Definition & Persistence Level

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Astik Sachan
Astik Sachan 2016년 4월 12일
Apart from Custom Data Types and things as told above , " mpt objects" have " CUSTOM ATTRIBUTES"
That Incude follows,
Memory Section : you can choose where you want your variables to go after the code generation.
Header File : you can mention your haeder file name in which you want to intialize that object.
Similarly Owner Definition & Persistence Level

Dipak Bhujbal
Dipak Bhujbal 2019년 6월 19일
what is stadndard procedure of unit model code generation?
  댓글 수: 1
Sabarirajan
Sabarirajan 2020년 6월 19일
Hi,
I will prefer Custom objects so that code placement (defination and delcartion) will be controlled by me.
Variables are easy to handle in targat sepcific compiler.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by