file Create my own type of attribute in diagram

4 months 2 days ago - 4 months 2 days ago #6546 by MYaya
Hi, i'm coding in scilab and i have some trouble to adapt the primitive type (in the diagram) to the one scilab uses.
For exemple, in scilab every Integer is in fact a Matrix (double-entry tab). So i want in my class attribut to have "Matrix" rather than simply "Integer".
And i have the same problem for an other attribute. I want to have an attribut that is a function.

So, how to i create my own type of attributes and use them in my diagram pls ?

Please Log in or Create an account to join the conversation.

1 month 3 weeks ago #6561 by ebr
Hi MYaya,

Maybe the simplest way is to create a "Matrix" Datatype which can be used later as type of yours attributes or focntion parameters as shown below.



Hoping it helps,
EBR
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: tma
Time to create page: 0.147 seconds
^ Back to Top