@@ -18,6 +18,17 @@ Symbolic variables can have metadata attached to them. The defaults and guesses
1818at variable construction time are examples of this metadata. ModelingToolkit also defines
1919additional types of metadata.
2020
21+ ## Variable defaults  
22+ 
23+ Variables can be assigned default values to avoid having to specify defaults to the
24+ [ ` System ` ] ( @ref )  constructor.
25+ 
26+ ``` @docs 
27+ ModelingToolkit.hasdefault 
28+ ModelingToolkit.getdefault 
29+ ModelingToolkit.setdefault 
30+ ``` 
31+ 
2132## Variable descriptions  
2233
2334Descriptive strings can be attached to variables using the ` [description = "descriptive string"] `  syntax:
@@ -56,6 +67,7 @@ help?> u
5667``` @docs 
5768hasdescription 
5869getdescription 
70+ ModelingToolkit.VariableDescription 
5971``` 
6072
6173## Connect  
@@ -83,6 +95,7 @@ getconnect(k)
8395``` @docs 
8496hasconnect 
8597getconnect 
98+ ModelingToolkit.VariableConnectType 
8699``` 
87100
88101``` @docs;  canonical=false
@@ -112,6 +125,8 @@ isinput
112125isoutput 
113126ModelingToolkit.setinput 
114127ModelingToolkit.setoutput 
128+ ModelingToolkit.VariableInput 
129+ ModelingToolkit.VariableOutput 
115130``` 
116131
117132## Bounds  
@@ -144,6 +159,7 @@ hasbounds(x[2])
144159``` @docs 
145160hasbounds 
146161getbounds 
162+ ModelingToolkit.VariableBounds 
147163``` 
148164
149165## Guess  
@@ -232,6 +248,7 @@ isirreducible(important_value)
232248
233249``` @docs 
234250isirreducible 
251+ ModelingToolkit.VariableIrreducible 
235252``` 
236253
237254## State Priority  
@@ -245,6 +262,7 @@ state_priority(important_dof)
245262
246263``` @docs 
247264state_priority 
265+ ModelingToolkit.VariableStatePriority 
248266``` 
249267
250268## Units  
@@ -261,6 +279,17 @@ getunit(speed)
261279``` @docs 
262280hasunit 
263281getunit 
282+ ModelingToolkit.VariableUnit 
283+ ``` 
284+ 
285+ ## Variable type  
286+ 
287+ This metadata is used by the [ ` System ` ] ( @ref )  constructor for automatically identifying the different types of variables in a system.
288+ 
289+ ``` @docs 
290+ ModelingToolkit.VariableType 
291+ ModelingToolkit.MTKVariableTypeCtx 
292+ ModelingToolkit.isparameter 
264293``` 
265294
266295## Miscellaneous metadata  
@@ -277,6 +306,7 @@ getmisc(y)
277306``` @docs 
278307hasmisc 
279308getmisc 
309+ ModelingToolkit.VariableMisc 
280310``` 
281311
282312## Dumping metadata  
0 commit comments