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 view (last 30 days)
[system, objective, init, designCon, stateCon] = qcar_new_objective_open();

Accepted Answer

Image Analyst
Image Analyst on 6 Sep 2014
Edited: Image Analyst on 6 Sep 2014
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.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!