Hi, if I use a function I can pass input to the function between two brackets. if the contain of the two brackets is empty, what does it mean.

1 次查看(过去 30 天)
[system, objective, init, designCon, stateCon] = qcar_new_objective_open();

采纳的回答

Image Analyst
Image Analyst 2014-9-6
编辑:Image Analyst 2014-9-6
It means that you're not passing any variables from the main, calling routine into the function. By the way, don't use "system" as the name of a variable since it's already the name of a built-in function.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by