peddychia
Newbie level 1

I need matlab m file programm as a block in simulink. there are some user defined functions in simulink like sfunction. embedded matlab function blocks are available and I dont know the method to make the m file into the block to simulate it. I find through the internet, and follow the method, but there is error occur. Anyone of you if know the method, please teach me here~~~