En option arguments dans les fonctions MATLAB

Comment puis-je déclarer une fonction dans MATLAB avec des arguments facultatifs?

Par exemple: function [a] = train(x, y, opt), où l'opt doit être un argument facultatif.

InformationsquelleAutor Yekver | 2011-07-20