| Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) | 
![]()  | 
	
| 		
			
			 | 
		#1 | 
| 
			
			 初级会员 
			
			
			
			注册日期: 2008-03-17 
				
				年龄: 40 
				
					帖子: 4
				 
				
				
				声望力: 0 ![]()  | 
	
	
	
		
		
			
			 
			
			function model_open(handles) 
		
		
		
		
		
		
		
	% Make sure the diagram is still open if isempty(find_system('Name','f14')), open_system('f14'); open_system('f14/Controller') set_param('f14/Controller/Gain','Position',[275 14 340 56]) figure(handles.F14ControllerEditor) % Put values of Kf and Ki from the GUI into the Block dialogs set_param('f14/Controller/Gain','Gain',... get(handles.KfCurrentValue,'String')) set_param('f14/Controller/Proportional plus integral compensator',... 'Numerator',... get(handles.KiCurrentValue,'String')) end %endfunction model_open 如上的红字中,‘position’的位置是怎么确定的,要怎么知道是[275 14 340 56],用什么方法确定的?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#2 | 
| 
			
			 初级会员 
			
			
			
			注册日期: 2008-05-08 
				
				年龄: 40 
				
					帖子: 10
				 
				
				
				声望力: 18 ![]()  | 
	
	
	
		
		
			
			 
			
			说一个比较笨的方法吧,我的显示器分辨率是1024*768的,我就将显示器窗口大体按照这个分了几份,然后粗略的定了弹出窗口的位置大小
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
	追求卓越,完善自我  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
	
	
| 主题工具 | |
| 显示模式 | |
		
  | 
	
		 | 
			 
			相似的主题
		 | 
	||||
| 主题 | 主题作者 | 版面 | 回复 | 最后发表 | 
| 【分享】Matlab基础资料精华版欢迎下载! | tqr591513792 | MATLAB论坛 | 3 | 2008-03-12 08:30 | 
| 【讨论】基于MATLAB的码分多址系统的仿真 | cui98 | MATLAB论坛 | 0 | 2008-02-10 21:35 | 
| Simplify Instrument Communication: Using Instrument Drivers with the Instrument Contr | TechnicalArticles | MATLAB技术文章 | 0 | 2008-01-06 16:32 | 
| 【求助】请高手帮忙改改我的程序(MATLAB) 用近似中值做背景更新 | qmxht | MATLAB论坛 | 5 | 2007-12-31 11:28 | 
| [转载] 伊希梅尔肯定了什么? ——《白鲸》中的辩证法 | labhunter | 学术科研 | 0 | 2007-06-20 18:13 |