How to limit variables in input function?
2 ビュー (過去 30 日間)
表示 古いコメント
I have a function
[P_max1(j), ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~] = tcfun1(1,P_min11 (j), P_max11(j), T, 1);
It perfectly runs.
When I use
[P_max1(j), ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~] = tcfun2(1,P_min11 (j), T, 1);
It perfectly runs.
but when i use
[P_max1(j), ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~] = tcfun3(1,P_min11 (j), ~, T, 1);
It gets error.
please help me.
0 件のコメント
採用された回答
Matt J
2022 年 5 月 23 日
It does not make sense to have a tilde as an input argument in a function call. Perhaps you meant,
tcfun3(1,P_min11 (j), T, 1);
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!