How to use the not sign on the mac version of matlab

3 ビュー (過去 30 日間)
Samuel
Samuel 2012 年 8 月 2 日
Hi,
I am trying to use the syntax :
[~, vol_m] = garchinfer(coeff_m{e}, y_te);
in other words, I would like to use the sign ~ not to have to specify a value for the first output of a function when I am only interested in the second one. It seems to work on a pc but not on a mac. What is the appropriate syntax to use on a mac ?
Thanks,
Sam

回答 (2 件)

Oleg Komarov
Oleg Komarov 2012 年 8 月 2 日
The feature you're referring is only available from R2009b onwards: http://www.mathworks.co.uk/help/techdoc/rn/br5fo8o-1.html#br65zmd-1
Check that the MATLAB on your MAC not older than R2009b.

Daniel Shub
Daniel Shub 2012 年 8 月 3 日
You can replace the ~ with dummy, but see my answer about problems with doing a global search and replace.

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by