- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Specifying StateSelect flag for a...
Page Start Prev 1 Next End
Specifying StateSelect flag for a slice of a vector
Specifying StateSelect flag for a slice of a vector
Jul-11-16 05:52:35
I can see that we can set the entire vector elements as preferred states from the following syntax
Code:
Real [N, 2] Vec (each stateSelect=StateSelect.prefer)
But let us say I only want Vec[1:N-2, 1] elements of the above vector to be set as preferred states. How can this be accomplished??
Edited by: ravi - Jul-11-16 05:55:46
- ravi
- 32 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Specifying StateSelect flag for a...
There are 0 guests and 0 other users also viewing this topic