converting M-file into a block function in simulink
2 views (last 30 days)
Show older comments
dong van duc
on 15 Aug 2012
Answered: karishma kousar
on 1 Apr 2016
hello can you show me how to move "file.m" into a function block in simulink thank you!
2 Comments
Accepted Answer
Kaustubha Govind
on 15 Aug 2012
Edited: John Kelly
on 26 Feb 2015
10 Comments
Kaustubha Govind
on 22 Aug 2012
Please start a new question and paste your code and the error message with the stack as well.
More Answers (2)
Youssef Haical
on 5 Sep 2014
Edited: Youssef Haical
on 5 Sep 2014
i made it but this answer is not clear ,,,, please try to show us just how we can add the initial values to run the simulink model without opening the command window and writing the values and then we run the simulink model
for example : i have this initial parameters : Pm=100e3; Flux=200; Ts=2e-5; p=2 ; N=2; f=50;
i need to make them inside of my simulink model without writing them in m-file or in command window
please help me
0 Comments
karishma kousar
on 1 Apr 2016
hello sir i have a matlab code for face detection but i dont know how to do the simulink blocks,please any one can help me in this designing a simulink model for my matlab code
0 Comments
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!