is it possible to declare customized units for Simulink Parameters?

1 Ansicht (letzte 30 Tage)
Example_Param.PNG

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 26 Mär. 2019
You can put in any string for unit in this dialog (ignore the dropdown selection list). It will be just a text for one of the properties of the object.
As late as R2018b, Simulink only supports signal unit.
  2 Kommentare
Martin Moser
Martin Moser am 28 Mär. 2019
Thank you!
My problem is while generating code, following warning occurs:
Warning.PNG
I could suppress this warning easily, but is there a way to declare "myUnit" additionally as a Unit in Simulink?
Fangjun Jiang
Fangjun Jiang am 28 Mär. 2019
We had requested customized unit due to other reasons. The Mathworks had agreed for future improvement. But it was not available in R2018b.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Martin Moser
Martin Moser am 1 Apr. 2019
Ok, thank you for this information!

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by