Created
October 15, 2017 12:45
-
-
Save anbara/8a16541ae7b48c60e6fe3e17ebbd81c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# インクルード | |
import numpy as np | |
import scipy.io | |
# データ作成 | |
strarr = np.array(["python", "matlab"], dtype=object) | |
# mat保存 | |
scipy.io.savemat("test.mat", {'name':strarr}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment