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

2 visualizzazioni (ultimi 30 giorni)
chethan
chethan il 23 Set 2013
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?

Risposte (1)

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

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by