Have a function and want to load mat file one time
조회 수: 9(최근 30일)
Sean de Wolski 2012년 3월 13일
In newer versions, you could use the matfile class. Then you should be able to load only the parts you need when you need them. If the function is being re-called each time, you could store the object as a persistent or global variable so that it sticks around, or you could just recreate it on each iteration. I would guess recreating it is a good option.