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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!