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.
Simulation Debugger - Specifying an array range of elements..
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Simulation Debugger - Specifying an array range of elements..
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Simulation Debugger - Specifying an array range of elements..
Hi Ben,
The issue I'm currently facing is with 112 elements, its impossible to see all the values as it truncated after 64 elements: As the function is not already available I have move topic to requested section.
That would be great if it can be implemented?Benj wrote:I believe in Matlab you would do something like this ScheduledSetTimes [48..52]
The issue I'm currently facing is with 112 elements, its impossible to see all the values as it truncated after 64 elements: As the function is not already available I have move topic to requested section.
Martin