is it possible to declare customized units for Simulink Parameters?

2 visualizzazioni (ultimi 30 giorni)
Example_Param.PNG

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 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 Commenti
Martin Moser
Martin Moser il 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 il 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.

Accedi per commentare.

Più risposte (1)

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

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by