What is mpt.parameter and mpt.signal?

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 9 Okt. 2012

0 Stimmen

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 Kommentare

Muruganandham Subramanian
Muruganandham Subramanian am 10 Okt. 2012
Bearbeitet: Walter Roberson am 29 Mär. 2025
Hi kaustubha,
What's the purpose of using this than normal signal and parameter
Kaustubha Govind
Kaustubha Govind am 10 Okt. 2012
Please see the last sentence of my answer. Simulink.Signal and Simulink.Parameter have the same purpose.
Qingshan Xie
Qingshan Xie am 17 Jun. 2019
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 am 29 Mär. 2025
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 am 29 Mär. 2025
I am not certain, but it seems plausible that the current link is

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by