Error: Unbalanced or unexpected parenthesis or bracket.

[fobj, fsomething]=Something[1 2 3 4 5 6 7 8 9 10 11 12 ]
Please help!

3 个评论

[fobj, fsomething]=Something([1 2 3 4 5 6 7 8 9 10 11 12 ])
%also
[fobj, fsomething]=Something(1:12)
@holaa luluu: What do you imagine that this should do?:
[fobj, fsomething]=Something[1 2 3 4 5 6 7 8 9 10 11 12 ]
You just put in a lot of effort asking this question ten times on lots of old threads. Why not put in the same amount of effort to learn very basic MATLAB, simply by doing the introductory tutorials:
Thank you for answers!
[fobj, fsomething]=Something([1 2 3 4 5 6 7 8 9 10 11 12 ]) definitely worked that one. This study is for my master thesis and i am trying to learn MATLAB. Unfortunetly i have realy short time for a decent learning process. Those paranthesis always make trouble!

请先登录,再进行评论。

 采纳的回答

Use parentheses to define the function call:
[fobj, fsomething]=Something([1 2 3 4 5 6 7 8 9 10 11 12 ]);

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by