converting M-file into a block function in simulink
3 次查看(过去 30 天)
显示 更早的评论
hello can you show me how to move "file.m" into a function block in simulink thank you!
采纳的回答
Kaustubha Govind
2012-8-15
编辑:John Kelly
2015-2-26
10 个评论
Kaustubha Govind
2012-8-22
Please start a new question and paste your code and the error message with the stack as well.
更多回答(2 个)
Youssef Haical
2014-9-5
编辑:Youssef Haical
2014-9-5
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 个评论
karishma kousar
2016-4-1
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!