# Reading IPG Road configuration from erg

**URL:** <https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970>\
**Category:** Tracks & Scenarios\
**Tags:** carmaker\
**Created:** [5 June 2024 22:15 UTC](https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970 "2024-06-05T22:15:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabanjan\_KAN](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/p/da6949/32.png) [@prabanjan\_KAN](https://forums.ipg-automotive.com/u/prabanjan_KAN)\
**Post date:** [5 June 2024 22:15 UTC](https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970/1 "2024-06-05T22:15:39Z")

</div>

![image](https://forums.ipg-automotive.com/uploads/default/original/1X/f8e0d0b675bfd96478d7df66ed187a88bbfcaf32.png)  
Dear Community,

I am running the simulation at different offset values through test manager. I would like to plot vehicle speed vs these offset values in MATLAB. but I don’t think these values are being recorded in erg file. How can I do this?

Thanks

---

<div class="post-metadata">

**Author:** ![Master.J](https://forums.ipg-automotive.com/user_avatar/forums.ipg-automotive.com/master.j/32/14_2.png) [@Master.J](https://forums.ipg-automotive.com/u/Master.J)\
**Post date:** [7 June 2024 11:15 UTC](https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970/2 "2024-06-07T11:15:43Z")

</div>

Hi Prabanjan,

they are recorded. See the corresponding .erg.info file.

> NamedValues.Count = 1  
> NamedValues.0.Name = Long\_Offset  
> NamedValues.0.Value = 1000

---

<div class="post-metadata">

**Author:** ![prabanjan\_KAN](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/p/da6949/32.png) [@prabanjan\_KAN](https://forums.ipg-automotive.com/u/prabanjan_KAN)\
**Post date:** [7 June 2024 11:28 UTC](https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970/3 "2024-06-07T11:28:21Z")

</div>

How can I read the erg.info file?

---

<div class="post-metadata">

**Author:** ![Master.J](https://forums.ipg-automotive.com/user_avatar/forums.ipg-automotive.com/master.j/32/14_2.png) [@Master.J](https://forums.ipg-automotive.com/u/Master.J)\
**Post date:** [7 June 2024 12:08 UTC](https://forums.ipg-automotive.com/t/reading-ipg-road-configuration-from-erg/970/4 "2024-06-07T12:08:27Z")

</div>

using cmread and/or ifile (s. CarMaker Programmers Guide)
