我想使用
scipy.io.loadmat('../Data/burgers_shock.mat')
我不知道如何设置.mat
文件的路径以及保存.mat
文件的位置。
- 将您的 .mat 文件上传到您的驱动器上。
- 在代码顶部添加这些行 从谷歌.colab 导入驱动器 drive.mount('/content/drive'(
- 然后只需使用以下路径加载 S=scipy.io.loadmat('/content/drive/My Drive/burgers_shock.mat'(;