⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 action_language.mdl

📁 这是关于matlab stateflow的源码例子
💻 MDL
📖 第 1 页 / 共 2 页
字号:
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[2 5 0 4]
		firstTransition		15
		type           		AND_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		4
		labelString    		"Ex2"
		position       		[208.8291960040922 14.25000000000011 181.6491243906843 109.5]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[2 6 3 9]
		firstTransition		16
		type           		AND_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		5
		labelString    		"One"
		position       		[21.08700427273283 33.75000000000026 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[3 0 0 7]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		6
		labelString    		"One"
		position       		[216.9783203947765 36.00000000000011 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[4 0 0 8]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		7
		labelString    		"Two"
		position       		[109.3758726003491 63.3750000000005 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[3 0 5 0]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		8
		labelString    		"Two"
		position       		[305.2671887223928 65.62500000000036 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[4 0 6 0]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		9
		labelString    		"Ex3"
		position       		[12.94481555033997 132.0000000000001 181.6491243906843 109.5]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[2 11 4 10]
		firstTransition		21
		type           		AND_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		10
		labelString    		"Ex4"
		position       		[210.6449118372751 132.75 187.2044618595867 110.25]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[2 12 9 0]
		firstTransition		22
		type           		AND_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		11
		labelString    		"One\n"
						"out3=in1;"
		position       		[21.09393994102425 153.7500000000001 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[9 0 0 13]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		12
		labelString    		"One\n"
						"exit:out4=in2;"
		position       		[212.480847926822 155.2500000000001 90.67760975540782 43.50000000000006]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[10 0 0 14]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		13
		labelString    		"Two\n"
						"out3=in2;"
		position       		[109.3828082686405 183.3750000000003 77.86373894204732 44.25000000000003]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[9 0 11 0]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		14
		labelString    		"Two\n"
						"exit:out4=in1;"
		position       		[305.1663641433092 189.3750000000003 89.78033038454598 45.00000000000009]
		fontSize       		14
		arrowSize      		10
		chart          		2
		treeNode       		[10 0 12 0]
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	transition {
		id           		15
		labelPosition		[69.84555844665999 23.0552906147799 6.75 13.5]
		fontSize     		10
		arrowSize    		10
		src {
			intersection		[0 0 0 0.2577062800328707 63.5 22.5]
		}
		dst {
			id          		5
			intersection		[1 0 -1 0.8047776356322446 83.75 33.75000000000026]
		}
		midPoint     		[72.1412427056793 22.68504470251247]
		chart        		2
		linkNode     		[3 0 17]
		dataLimits   		[63.50000000000001 86.75 21.40879928735573 33.75000000000026]
	}

	transition {
		id           		16
		labelPosition		[265.8788041111624 24.29673435570614 6.75 13.5]
		fontSize     		10
		arrowSize    		10
		src {
			intersection		[0 0 0 0.3271185820202895 260 23.25]
		}
		dst {
			id          		6
			intersection		[1 0 -1 0.7933305084565637 278.75 36.00000000000011]
		}
		midPoint     		[268.0011506534067 24.11386523388871]
		chart        		2
		linkNode     		[4 0 18]
		dataLimits   		[260 281.75 23.25000000000002 36.00000000000011]
	}

	transition {
		id           		17
		labelString  		"E/out1=in2;"
		labelPosition		[108.1312205331614 26.38395180450335 73.5 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		5
			intersection		[2 1 0 0.2372881355932183 98.95074321478015 44.25000000000017]
		}
		dst {
			id          		7
			intersection		[1 0 -1 0.5986643279314804 155.9901155443221 63.3750000000005]
		}
		midPoint     		[124.3836616772336 43.39945410798015]
		chart        		2
		linkNode     		[3 15 19]
		dataLimits   		[98.95074321478012 158.9901155443221 43.28606104027551 63.3750000000005]
	}

	transition {
		id           		18
		labelString  		"E{out2=in2;}"
		labelPosition		[296.4679728643551 23.38395180450332 78.75 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		6
			intersection		[2 1 0 0.2372881355932183 294.8420593368238 46.50000000000003]
		}
		dst {
			id          		8
			intersection		[1 0 -1 0.5986643279314804 351.8814316663658 65.62500000000036]
		}
		midPoint     		[320.2749777992772 45.64945410798001]
		chart        		2
		linkNode     		[4 16 20]
		dataLimits   		[294.8420593368238 354.8814316663658 45.53606104027536 65.62500000000036]
	}

	transition {
		id           		19
		labelString  		"E/out1=in1;"
		labelPosition		[34.45182491661001 100.2169834935367 73.5 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		7
			intersection		[4 -1 0 0.2457627118644134 109.3758726003491 96.75000000000023]
		}
		dst {
			id          		5
			intersection		[3 0 1 0.7097381153743827 43.68787988204855 78.00000000000028]
		}
		midPoint     		[80.34257046529925 98.32513752936782]
		chart        		2
		linkNode     		[3 17 0]
		dataLimits   		[40.68787988204855 109.3758726003492 78.00000000000028 98.75629989474746]
	}

	transition {
		id           		20
		labelString  		"E{out2=in1;}"
		labelPosition		[222.5105749918339 101.7169834935366 78.75 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		8
			intersection		[4 -1 0 0.2457627118644134 305.2671887223928 99.00000000000009]
		}
		dst {
			id          		6
			intersection		[3 0 1 0.7097381153743827 239.5791960040922 80.25000000000014]
		}
		midPoint     		[276.2338865873429 100.5751375293677]
		chart        		2
		linkNode     		[4 18 0]
		dataLimits   		[236.5791960040922 305.267188722393 80.25000000000014 101.0062998947474]
	}

	transition {
		id           		21
		labelPosition		[70.02906711765532 141.3183059133889 6.75 13.5]
		fontSize     		10
		arrowSize    		10
		src {
			intersection		[0 0 0 0.2700546155353545 62.75 140.25]
		}
		dst {
			id          		11
			intersection		[1 0 -1 0.8335851956362416 86 153.7500000000001]
		}
		midPoint     		[72.67142681022438 141.1016671658037]
		chart        		2
		linkNode     		[9 0 23]
		dataLimits   		[62.75000000000004 89 140.25 153.7500000000001]
	}

	transition {
		id           		22
		labelPosition		[264.8452497059438 143.125646483551 6.75 13.5]
		fontSize     		10
		arrowSize    		10
		src {
			intersection		[0 0 0 0.3088651726283916 254.75 143.25]
		}
		dst {
			id          		12
			intersection		[1 0 -1 0.8162932306548726 286.5003669421257 155.2500000000001]
		}
		midPoint     		[268.0270796624375 142.5691003739849]
		chart        		2
		linkNode     		[10 0 24]
		dataLimits   		[254.7499999999999 289.5003669421257 140.9887936626454 155.2500000000001]
	}

	transition {
		id           		23
		labelString  		"E"
		labelPosition		[126.752737654182 146.3839518045033 11.25 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		11
			intersection		[2 1 0 0.2372881355932183 98.95767888307157 164.25]
		}
		dst {
			id          		13
			intersection		[1 0 -1 0.5986643279314804 155.9970512126135 183.3750000000003]
		}
		midPoint     		[124.390597345525 163.39945410798]
		chart        		2
		linkNode     		[9 21 25]
		dataLimits   		[98.95767888307165 158.9970512126135 163.2860610402754 183.3750000000003]
	}

	transition {
		id           		24
		labelString  		"E"
		labelPosition		[326.338354507574 148.5119514670989 11.25 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		12
			intersection		[2 1 0 0.2372881355932183 303.1584576822298 165.5720338983051]
		}
		dst {
			id          		14
			intersection		[1 0 -1 0.5986643279314804 358.9146452944397 189.3750000000003]
		}
		midPoint     		[328.7742091682762 166.7651475275517]
		chart        		2
		linkNode     		[10 22 26]
		dataLimits   		[303.1584576822298 361.9146452944397 165.5720338983051 189.3750000000003]
	}

	transition {
		id           		25
		labelString  		"E"
		labelPosition		[60.65590808444997 220.9669834935365 11.25 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		13
			intersection		[4 -1 0 0.2457627118644134 109.3828082686405 216.7500000000001]
		}
		dst {
			id          		11
			intersection		[3 0 1 0.7097381153743827 43.69481555033997 198.0000000000001]
		}
		midPoint     		[80.34950613359064 218.3251375293676]
		chart        		2
		linkNode     		[9 23 0]
		dataLimits   		[40.69481555033997 109.3828082686405 198.0000000000001 218.7562998947473]
	}

	transition {
		id           		26
		labelString  		"E"
		labelPosition		[244.1720322670932 221.9582194048969 11.25 18]
		fontSize     		14
		arrowSize    		10
		src {
			id          		14
			intersection		[4 -1 0 0.2457627118644134 305.1663641433092 223.3156779661018]
		}
		dst {
			id          		12
			intersection		[3 0 1 0.7097381153743827 238.801101827773 198.7500000000002]
		}
		midPoint     		[275.0531706742053 222.6448406356643]
		chart        		2
		linkNode     		[10 24 0]
		dataLimits   		[235.801101827773 305.166364143309 198.7500000000002 223.3156779661018]
	}

	event {
		id         		27
		name       		"E"
		linkNode   		[2 0 0]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	data {
		id         		28
		name       		"out1"
		linkNode   		[2 0 29]
		scope      		OUTPUT_DATA
		machine    		1
		dataType   		"double"
	}

	data {
		id         		29
		name       		"out2"
		linkNode   		[2 28 30]
		scope      		OUTPUT_DATA
		machine    		1
		dataType   		"double"
	}

	data {
		id         		30
		name       		"out3"
		linkNode   		[2 29 31]
		scope      		OUTPUT_DATA
		machine    		1
		dataType   		"double"
	}

	data {
		id         		31
		name       		"out4"
		linkNode   		[2 30 32]
		scope      		OUTPUT_DATA
		machine    		1
		dataType   		"double"
	}

	data {
		id         		32
		name       		"in1"
		linkNode   		[2 31 33]
		scope      		INPUT_DATA
		machine    		1
		dataType   		"double"
	}

	data {
		id         		33
		name       		"in2"
		linkNode   		[2 32 0]
		scope      		INPUT_DATA
		machine    		1
		dataType   		"double"
	}

	instance {
		id     		34
		name   		"Chart"
		machine		1
		chart  		2
	}

	target {
		id               		35
		name             		"sfun"
		description      		"Default Simulink S-Function Target."
		machine          		1
		linkNode         		[1 0 0]
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -