# How to use the LOOKUP\_F

**URL:** <https://scilab.discourse.group/t/how-to-use-the-lookup-f/179>\
**Category:** Xcos\
**Created:** [September 27, 2023, 8:25am UTC](https://scilab.discourse.group/t/how-to-use-the-lookup-f/179 "2023-09-27T08:25:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neo1](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@Neo1](https://scilab.discourse.group/u/Neo1)\
**Post date:** [September 27, 2023, 8:25am UTC](https://scilab.discourse.group/t/how-to-use-the-lookup-f/179/1 "2023-09-27T08:25:16Z")

</div>

Hello, I want to transfer a model from Simulink into xcos and i ran into a problem. I don´t know how I should transfer the LOOKUP Table from Simulink into xcos. I already found the LOOKUP\_F block but I don´t understand how I can edit the curve.

 ![image](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/f11b58ce86e9f11071a1a5c4c11356fae515b813.png)

Can someone please explain to me, how I can recreate this control curve in xcos?

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [September 27, 2023, 12:00pm UTC](https://scilab.discourse.group/t/how-to-use-the-lookup-f/179/2 "2023-09-27T12:00:16Z")

</div>

Double-click on the LOOKUP\_F block, move points with right-click, insert new points with left-click, then select the menu item Control/ok. Other menu items allow to import/export `*.xy` two columns text files like

```auto
0 180
0.05 167
0.10 159
...

```

---

<div class="post-metadata">

**Author:** ![Neo1](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@Neo1](https://scilab.discourse.group/u/Neo1)\
**Post date:** [September 28, 2023, 5:54am UTC](https://scilab.discourse.group/t/how-to-use-the-lookup-f/179/3 "2023-09-28T05:54:30Z")

</div>

Thank you, you helped me a lot.
