Solved
See if the attached file helps!
You may replace the "R" after "if k>=O" by "csort(R,O)" if that suits your need better.
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


