How to change the number of outputs of a MATLAB function block programmatically
8 ビュー (過去 30 日間)
古いコメントを表示
Abderahmane Abdellahi
2017 年 6 月 12 日
回答済み: Abderahmane Abdellahi
2017 年 6 月 16 日
Hello
I am working on R2014a, I created a Matlab Function block using add_block , however I want to add outputs not by directly modifying the function (e.i function [out1,out2,out3] = MyFun(u)), but rather programmatically from the same way I created it.
Thanks in advance.
0 件のコメント
採用された回答
Dimitris Iliou
2017 年 6 月 15 日
There is a similar MATLAB Answers post on how to change the number of inputs programmatically. You can find that post in the following link:
Although the post refers to the input, the workflow to change the number of outputs is the same.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!