close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 5, 2010, 7:00:59 AM (15 years ago)
- Author:
-
Pedro Gea
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v8
|
v9
|
|
| 151 | 151 | |
| 152 | 152 | === Fijar parámetros en definición === |
| 153 | | ... |
| | 153 | |
| | 154 | En MMS_0.5 no era posible fijar los parámetros en definición ya que esto no funcionaba correctamente. Esta limitación está solucionada en MMS_0.6, y para fijar un parámetro se pueden modificar sus atributos InitialValue e IsFixed: |
| | 155 | |
| | 156 | '''Código en MMS_0.6''' |
| | 157 | |
| | 158 | {{{ |
| | 159 | #!java |
| | 160 | @MMS.Parameter param = ... |
| | 161 | Real fixedValue = ... |
| | 162 | Real param::SetInitialValue(fixedValue); |
| | 163 | Real param::SetIsFixed(True); |
| | 164 | }}} |
| 154 | 165 | |
| 155 | 166 | |
| 156 | 167 | |
| | 168 | |