Simulink/ MATLAB Function Integration
Show older comments
Hello,
I have a main function in matlab which in a part of it, uses a simulink block (C-Caller) which contains a c code. for doing this, in the main function I have used this command:
out=sim('calc')
which "calc" is the name of my C-code containing block. Now I want to put the main function in a simulink Matlab Function block. I wanted to know how can i implement this? How should I do this when I put this function in a simulink block. In other words, how does this command change?
Best Regards
Accepted Answer
More Answers (0)
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!