攝影或3C

Python讀取或儲存mat檔(dict), import scipy.io ; dic = scipy.io.loadmat(pathf) ; scipy.io.savemat(SavePath, rawdict)

fname = r”\ParametricStudy_RF_SweepGain-20to60_gain55.mat”
folder = r”C:\Python\Radar”
pathf = folder+fname
#print(pathf)
import scipy.io
dic = scipy.io.loadmat(pathf)
print(dic,type(dic))

# scipy.io.savemat(SavePath, rawdict) #存檔

#SavePath = 路徑+檔名+ .mat

部分輸出結果: 

 

儲蓄保險王

儲蓄險是板主最喜愛的儲蓄工具,最喜愛的投資理財工具則是ETF,最喜愛的省錢工具則是信用卡