Member Login
Search
Jump to a Date
Sponsored Communities
Cool stuff
Twitter Feed
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
A fool's brain digests philosophy into folly, science into
superstition, and art into pedantry. Hence University education.
-- G. B. Shaw
superstition, and art into pedantry. Hence University education.
-- G. B. Shaw
RSS Feed
www.control.com/rss/
To get a personalized feed, become a member at no cost.
[moderator's note: See thread http://www.control.com/thread/1245689960]
as a part of my project, 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 wrote the programs but shows some error... if any body can help me plz... i am doing simulation in simulink and to reduce the complexity. i thought of writing progms in m file but i failed to make it as a simulink block.. if anybody knows the way of using embedded matlab function plz
my email id is pinky1766 [at] gmail.com
as a part of my project, 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 wrote the programs but shows some error... if any body can help me plz... i am doing simulation in simulink and to reduce the complexity. i thought of writing progms in m file but i failed to make it as a simulink block.. if anybody knows the way of using embedded matlab function plz
my email id is pinky1766 [at] gmail.com
Hi,
MATLAB has well-documented help and examples concerning S-Functions. Visit following folder in Simulink Library Browser: [Simulink->User-Defined Functions->S-Function examples] system for more information
Also, there is one more way to include m-file calculations into Simulink: write a general m-file function and use it within [Simulink->User-Defined Functions->MATLAB Function] library block
Best regards,
Serg
http://sse.xtreemhost.com
MATLAB has well-documented help and examples concerning S-Functions. Visit following folder in Simulink Library Browser: [Simulink->User-Defined Functions->S-Function examples] system for more information
Also, there is one more way to include m-file calculations into Simulink: write a general m-file function and use it within [Simulink->User-Defined Functions->MATLAB Function] library block
Best regards,
Serg
http://sse.xtreemhost.com
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!




