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!