Page 1 of 1

Simulation Debugger - Specifying an array range of elements..

Posted: Thu May 30, 2019 3:38 pm
by medelec35
I have an array that has 115 elements.
I'm trying just to show a small range e.g ScheduledSetTimes [48]-[52]
Tried ScheduledSetTimes [48]-[52] & ScheduledSetTimes [48],[52]
Showing a single element works e.g ScheduledSetTimes [48]
What is the correct syntax for a range please?
I can manually add multiple single elements, but if require a range of 30 for example can be a pain.

Re: Simulation Debugger - Specifying an array range of elements..

Posted: Thu May 30, 2019 4:14 pm
by Benj
Hi Martin,

I don't think there's currently a nice way of doing this rather than showing the entire array or a single element.

I believe in Matlab you would do something like this ScheduledSetTimes [48..52]

We can certainly add it to the list to look into in the future.

Re: Simulation Debugger - Specifying an array range of elements..

Posted: Thu May 30, 2019 5:31 pm
by medelec35
Hi Ben,
Benj wrote:I believe in Matlab you would do something like this ScheduledSetTimes [48..52]
That would be great if it can be implemented?
The issue I'm currently facing is with 112 elements, its impossible to see all the values as it truncated after 64 elements:
Array Range.png
(35.54 KiB) Downloaded 1452 times
As the function is not already available I have move topic to requested section.