Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need tutorial on Matlab-How to write S-Function in Simulink

Status
Not open for further replies.

EricGuo

Newbie level 5
Joined
Jan 15, 2003
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
88
matlab s function tutorial

i think y can ref the help file
 

s function tutorial

Hi SundarS,

Try in the matlab HTML documentation.
in the Simulinc section there is 'Writing S functions' subsection.

Note that there is PDF counterpart (with the same information ) document also which you can print.

Best regards
dora
 

simulink s function tutorial

dump question.

I have been playing around with Simulink but still have no idea on the S-Function.

What is S-Function? Is it the same as matlab .m?
Can you use it to call C code?
 


matlab - how to write sfunction

Inside your Matlab instalation directory find extern/examples subfolder and search for mex*.c/h and mx*.c/h files there. Those files are very good starting point to write your own functions. How to do that - type "help mex" in Matlab.

Cheers.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top