I'm trying to run my model with WSMLink, but I want to change the number of elements in my arrays before running. When I change the parameter corresponding to the length of the array, and then try to set the elements of this new array, I get an error saying that the new indices aren't parameter. Ok, I understand why, but how do I resize the arrays first?
e.g.
My array length was 4 now...
WSMSimulate["myPackage.myModel",WSMParameterValues->{arrayLength -> 5, param1[5]->2.0}]
And I get an error. Can I use WSMModelData or WSMCreateModel to change the length of the arrays before trying to set them?