Info
此问题已关闭。 请重新打开它进行编辑或回答。
call with matlabfunction(simulink) an other mfile
1 次查看(过去 30 天)
显示 更早的评论
Hi, i have a simulink model, which computes a value, then i give this value to a matlab funktion, then fron this matlab funktion i wanna call an other mfile funktion and give this mfile function this value.
How can i call an other funktion and give a value???? THX
0 个评论
回答(1 个)
Azzi Abdelmalek
2013-6-3
9 个评论
Azzi Abdelmalek
2013-6-3
You do not need to put the m-file in your Matlab fcn block, you have just to call the function in the block Matlab fcn. but you need to use i,d,c,alpha as constants or signals
function y = load_handles(i,d,c,alpha)
%#codegen
y = test_environment(i,d,c,alpha)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!