Java SME Regarding formating the thousands separator.

I have this error when i use java to format thousand separator for "hist_rev". It works if when hist_rev is 1,1 but not when it s one dim vector. I can not come up with a solution to this. I appreciate if you suggest a solution. Regards, Nazmi
>> ho= char(inf.format(hist_rev)) Java exception occurred: java.lang.IllegalArgumentException: Cannot format given Object as a Number
at java.text.DecimalFormat.format(Unknown Source)
at java.text.Format.format(Unknown Source)

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

标签

提问:

nt
2012-12-17

Community Treasure Hunt

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

Start Hunting!

Translated by