How to link matlab code to s-function in simulink?

2 次查看(过去 30 天)
hello,
I have a matlab code and i want to implement that code in simulink using S-Function. Even though i created S-function file and added to the block, i am not sure that S-function block is reading the code. the output is same as input. can anyone help me?

回答(1 个)

Vishal Rane
Vishal Rane 2013-9-23
Any particular reason to implement matlab code in simulink using S-Functions? You could use the matlab function block for this. Refer this

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by