Info
此问题已关闭。 请重新打开它进行编辑或回答。
Calling a function in Simulink from Matlab
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to define a function in an .m file, and then have it be called by any given Simulink block? Is it possible to create a user defined Simulink block containing the function written in the .m file? How could it be done? I have a .m file defining properties and functions that I would like to call in Simulink, and that was first intended to be called as a real time simulation, and signal processing. How can I make a real time simulation by defining some functions in Matlab and having them called in by some customized Simulink block?
Thank you.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!