回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 10 月 9 日

0 投票

As far as my understanding goes, mpt.Parameter and mpt.Signal are advanced versions of Simulink.Parameter and Simulink.Signal. They are used to define custom data types for parameters and signals respectively. For example, see Generate Code Including User-Defined Data Types.

5 件のコメント

Muruganandham Subramanian
Muruganandham Subramanian 2012 年 10 月 10 日
編集済み: Walter Roberson 2025 年 3 月 29 日
Hi kaustubha,
What's the purpose of using this than normal signal and parameter
Kaustubha Govind
Kaustubha Govind 2012 年 10 月 10 日
Please see the last sentence of my answer. Simulink.Signal and Simulink.Parameter have the same purpose.
Qingshan Xie
Qingshan Xie 2019 年 6 月 17 日
hi,
i want to get mpt.parameter of Value and Minof varible A, and make it to transmit to cell in excel。 do you know how to do in matlab code?
Walter Roberson
Walter Roberson 2025 年 3 月 29 日
The link "http://www.mathworks.com/help/ecoder/ug/generate-code-including-user-defined-data-types.html" embedded as "Generate Code Including User-Defined Data Types" in the Answer opens a page no longer available.
Walter Roberson
Walter Roberson 2025 年 3 月 29 日
I am not certain, but it seems plausible that the current link is

サインインしてコメントする。

タグ

コメント済み:

2025 年 3 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by