本文整理汇总了Python中Graph.open_matlab_file方法的典型用法代码示例。如果您正苦于以下问题:Python Graph.open_matlab_file方法的具体用法?Python Graph.open_matlab_file怎么用?Python Graph.open_matlab_file使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Graph
的用法示例。
在下文中一共展示了Graph.open_matlab_file方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: browse
# 需要导入模块: import Graph [as 别名]
# 或者: from Graph import open_matlab_file [as 别名]
def browse(self):
self.activefile = filedialog.askopenfilename()
self.activefile = self.activefile.split("/")
self.activefile = self.activefile[len(self.activefile)-1]
if self.activefile != "":
self.edit_text(self.statustext, "Opened file: \n\"" + self.activefile + "\"\n")
self.StimTrig_Stimuli, self.StimTrig_Time, self.Sch_wav_Time, self.trial_dictionary,\
self.Sch_wav_Time_Trialled, self.number_of_trials = Graph.open_matlab_file(self.activefile)
self.edit_text(self.Trialtext, "Number of trials: " + str(self.number_of_trials) + "\n")