is it possible to declare customized units for Simulink Parameters?

1 view (last 30 days)
Example_Param.PNG

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 26 Mar 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 Comments
Martin Moser
Martin Moser on 28 Mar 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 on 28 Mar 2019
We had requested customized unit due to other reasons. The Mathworks had agreed for future improvement. But it was not available in R2018b.

Sign in to comment.

More Answers (1)

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

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!