If you use MATLAB, you can create certain functions, then generate C code, tweak it, and then paste it into UniLogic's C editor.
The MATLAB sites and forums have information on generating C code, for example:
Generating C Code from Your MATLAB Algorithms
http://blogs.mathworks.com/loren/2011/11/14/generating-c-code-from-your-matlab-algorithms/55/
Automatically Converting MATLAB Code to C Code
http://www.mathworks.com/videos/automatically-converting-matlab-code-to-c-code-96483.html
Note that the example shown below shows MATLAB version R2015b.
Example: Multiplication function, written in MATLAB
Create the function.
Define Input Types.
Generate the code in C.
Open the resulting Header and C code files.
Copy and paste the header and C function code into the UniLogic C editor.
Note that you must tweak the code to comply with any restrictions that exist in the UniLogic C editor.
These are generally presented in a colored frame at the top of the editor, as shown below.