  function targMap = targDataMap(),

  ;%***********************
  ;% Create Parameter Map *
  ;%***********************
      
    nTotData  = 0; %add to this count as we go
    nTotSects = 1;
    
    ;%
    ;% Define dummy sections & preallocate arrays
    ;%
    dumSection.nData = -1;  
    dumSection.data  = [];
    
    dumData.logicalSrcIdx = -1;
    dumData.dtTransOffset = -1;
    
    ;%
    ;% Init/prealloc paramMap
    ;%
    paramMap.nSections           = nTotSects;
      paramMap.sections(nTotSects) = dumSection; %prealloc
    paramMap.nTotData            = -1;
    
    ;%
    ;% Auto data (rtP)
    ;%
      section.nData     = 9;
      section.data(9)  = dumData; %prealloc
      
	;% rtP.S_Function_P1_Size
	section.data(1).logicalSrcIdx = 0;
	section.data(1).dtTransOffset = 0;
	
	;% rtP.S_Function_P1
	section.data(2).logicalSrcIdx = 1;
	section.data(2).dtTransOffset = 2;
	
	;% rtP.S_Function_P2_Size
	section.data(3).logicalSrcIdx = 2;
	section.data(3).dtTransOffset = 8;
	
	;% rtP.S_Function_P2
	section.data(4).logicalSrcIdx = 3;
	section.data(4).dtTransOffset = 10;
	
	;% rtP.S_Function_P3_Size
	section.data(5).logicalSrcIdx = 4;
	section.data(5).dtTransOffset = 11;
	
	;% rtP.S_Function_P3
	section.data(6).logicalSrcIdx = 5;
	section.data(6).dtTransOffset = 13;
	
	;% rtP.S_Function_P4_Size
	section.data(7).logicalSrcIdx = 6;
	section.data(7).dtTransOffset = 14;
	
	;% rtP.S_Function_P4
	section.data(8).logicalSrcIdx = 7;
	section.data(8).dtTransOffset = 16;
	
	;% rtP.Add_1_Value
	section.data(9).logicalSrcIdx = 8;
	section.data(9).dtTransOffset = 17;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(1) = section;
      clear section
      
    
      ;%
      ;% Non-auto Data (parameter)
      ;%
    

    ;%
    ;% Add final counts to struct.
    ;%
    paramMap.nTotData = nTotData;
    


  ;%**************************
  ;% Create Block Output Map *
  ;%**************************
      
    nTotData  = 0; %add to this count as we go
    nTotSects = 1;
    
    ;%
    ;% Define dummy sections & preallocate arrays
    ;%
    dumSection.nData = -1;  
    dumSection.data  = [];
    
    dumData.logicalSrcIdx = -1;
    dumData.dtTransOffset = -1;
    
    ;%
    ;% Init/prealloc sigMap
    ;%
    sigMap.nSections           = nTotSects;
      sigMap.sections(nTotSects) = dumSection; %prealloc
    sigMap.nTotData            = -1;
    
    ;%
    ;% Auto data (rtB)
    ;%
      section.nData     = 1;
      section.data(1)  = dumData; %prealloc
      
	;% rtB.S_Function
	section.data(1).logicalSrcIdx = 0;
	section.data(1).dtTransOffset = 0;
	
      nTotData = nTotData + section.nData;
      sigMap.sections(1) = section;
      clear section
      
    
      ;%
      ;% Non-auto Data (signal)
      ;%
    

    ;%
    ;% Add final counts to struct.
    ;%
    sigMap.nTotData = nTotData;
    


  ;%
  ;% Add individual maps to base struct.
  ;%

  targMap.paramMap  = paramMap;    
  targMap.signalMap = sigMap;
  
  ;%
  ;% Add checksums to base struct.
  ;%


  targMap.checksum0 = 3207970387;
  targMap.checksum1 = 273742104;
  targMap.checksum2 = 834454685;
  targMap.checksum3 = 1307261054;

