Question: Can any one have matlab code for the fractional number to canonical sign digit conversion?
or binary to canonical sign digit conversion.

I got the matlab code for decimal to csd conversion from matlab file exchange. But i want to convert fractional number to csd.

csd=canonical sign digit

Answer: 
You can do this by adding a custom data-parameter `app:myData` in your view:

**View**

```
<mvc:View
    ...
    xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
    ...
>
    <Button text="click" tap="callFunction" app:mydata="mycustomString"/>
    ...

```

**Controller**

```
callFunction: function(oControlEvent) {
    console.log("data: " + oControlEvent.getSource().data("mydata"));
}

```

logs `data: mycustomString`

See <https://scn.sap.com/thread/3538029>
You can do this by calling a function within the function you declare in **tap**.

**XML VIEW:**

```
<Button text="Press Me" tap="doSomething"/> 

```

**Code in Controller.js:**

```
doSomething : function(oEvent) {
          yourNewFunction(oEvent, "String"); //maybe this callFunction(oEvent, "mycustomString");
}

```