how to create a matlab function in simulink?

i`m working on ldpc code and i`don't want to use the matlab block for encoding i want to design an encoder of my own and put it as a block

Answers (1)

You have a MATLAB Function block in Simulink.You can place that block in your model & on double clicking it you can write your function inside.

Categories

Asked:

on 8 Oct 2015

Answered:

on 9 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!