Matlab 7.3 版本以上.mat文件存储问题

Matlab 7.3及以上版本.mat文件存储解决方法
本文介绍了在Matlab 7.3及以上版本中遇到的细胞变量directory保存问题及其解决方案。

The variable 'ClassifierSet' is a cell whose size is big
>> whos
  Name                       Size                    Bytes  Class     Attributes
  ClassNum                   1x1                         8  double
  Classes                  717x2                    195304  cell
  ClassesDir               717x1                     97652  cell
  ClassifierNum              1x1                         8  double
  ClassifierSet             20x1                5640325760  cell

When save the cell variable directory, matlab echos that

>> save('ClassifierSet_717.20.mat', 'ClassifierSet')
Warning: Variable 'ClassifierSet' cannot be saved to a MAT-file whose version is older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping...

Solution

save('ClassifierSet_717_20.mat', 'ClassifierSet', '-v7.3')

Matlab version

>> version

ans =

8.6.0.267246 (R2015b)

---

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值