Can MATLAB functions be used on B&R systems?

Hello,

I am currently designing a system and I have a quick question.

I can see that B&R has MATLAB/Simulink integration, however I can not find a concrete answer as to whether I can use the functions that are built into MATLAB and transfer those function blocks to my system, e.g. the c2d() function: https://uk.mathworks.com/help/control/ref/dynamicsystem.c2d.html

All the best,

Seán

The Simulink integration allows you to insert a Simulink diagram into your Automation Studio project. MATLAB turns the diagram into a C program and then inserts it into your project so that you can tie Automation Studio process variables to the diagram’s inputs and outputs.

I’m not familiar with that function specifically, but if you can insert it into a Simulink diagram, then I think would also end up in the project.

Just a follow-up on whether the c2d() function can be used - it can’t