load connection infomation [Usage] [Connection] = load_connection_from_vmni_connect_file(vmni_connect_file); [Input] vmni_connect file : Vmni connection file(Vmni_connect.mat) [Output] Connection : connection line information <<struct>> .Vc : connection coordinate value {Nx1} .I_from : Vc{n,1} : Index number of subject brain V. (start point) .I_to : Vc{n,end} : Index number of subject brain V. (end point)
0001 function [Connection] = load_connection_from_vmni_connect_file(vmni_connect_file) 0002 % load connection infomation 0003 % [Usage] 0004 % [Connection] = load_connection_from_vmni_connect_file(vmni_connect_file); 0005 % 0006 % [Input] 0007 % vmni_connect file : Vmni connection file(Vmni_connect.mat) 0008 % 0009 % [Output] 0010 % Connection : connection line information <<struct>> 0011 % .Vc : connection coordinate value {Nx1} 0012 % .I_from : Vc{n,1} : Index number of subject brain V. (start point) 0013 % .I_to : Vc{n,end} : Index number of subject brain V. (end point) 0014 0015 Connection = struct; 0016 load(vmni_connect_file); 0017 0018 Connection.Vc = Vtracks_mni; 0019 Connection.I_from = Index_from; 0020 Connection.I_to = Index_to;