카테고리 없음2013. 4. 3. 00:17

Syntax

filename = uigetfile
[FileName,PathName,FilterIndex] = uigetfile(FilterSpec)
[FileName,PathName,FilterIndex] = uigetfile(FilterSpec,DialogTitle)
[FileName,PathName,FilterIndex] = uigetfile(FilterSpec,DialogTitle,DefaultName)
[FileName,PathName,FilterIndex] = uigetfile(...,'MultiSelect',selectmode)

Description

filename = uigetfile displays a modal dialog box that lists files in the current folder and enables you to select or enter the name of a file. If the file name is valid and the file exists, uigetfile returns the file name as a string when you click Open. Otherwise uigetfile displays an appropriate error message, after which control returns to the dialog box. You can then enter another file name or click Cancel. If you click Cancel or close the dialog window, uigetfile returns 0.

 
Posted by 오늘보다 나은 내일
카테고리 없음2013. 4. 2. 20:47

function userDraw(handles)
%F=figure;
%setptr(F,'eraser'); %a custom cursor just for fun

A=handles.axesUserDraw; % axesUserDraw is tag of my axes
set(A,'buttondownfcn',@start_pencil)

function start_pencil(src,eventdata)
coords=get(src,'currentpoint'); %since this is the axes callback, src=gca
x=coords(1,1,1);
y=coords(1,2,1);

r=line(x, y, 'color', [0 .5 1], 'LineWidth', 2, 'hittest', 'off'); %turning     hittset off allows you to draw new lines that start on top of an existing line.
set(gcf,'windowbuttonmotionfcn',{@continue_pencil,r})
set(gcf,'windowbuttonupfcn',@done_pencil)

function continue_pencil(src,eventdata,r)
%Note: src is now the figure handle, not the axes, so we need to use gca.
coords=get(gca,'currentpoint'); %this updates every time i move the mouse
x=coords(1,1,1);
y=coords(1,2,1);
%get the line's existing coordinates and append the new ones.
lastx=get(r,'xdata');  
lasty=get(r,'ydata');
newx=[lastx x];
newy=[lasty y];
set(r,'xdata',newx,'ydata',newy);

function done_pencil(src,evendata)
%all this funciton does is turn the motion function off 
set(gcf,'windowbuttonmotionfcn','')
set(gcf,'windowbuttonupfcn','')
참고 : http://we15hang.blogspot.ca/2012/04/matlab-gui-interactive-drawing.html

Posted by 오늘보다 나은 내일
카테고리 없음2013. 3. 29. 21:06

xl=get(handles.axes1, 'xlim');          yl = get(handles.axes1, 'ylim');

 

 

Working on multislides form

 

 

first go to openingFcn callback and set all uipanel visibile to off except the 1st one which is uipanel1. Here it is just one panel uipanel2

 

function gui1_OpeningFcn(hObject, eventdata, handles, varargin)

% This function has no output args, see OutputFcn.

% Choose default command line output for gui1

handles.output = hObject;

set(handles.uipanel2,'Visible','Off');

% Update handles structure

guidata(hObject, handles);

 

Now go to pushbutton1 (Next Button ) callback and set the uipanel1 visible to off and uipanel2 visible to on. That way when you click on next button, second one will appear and first will disappear. Remember you are just making it in invisible.. All the data which you have entered is as it were.. no harm to them. 

 

function pushbutton1_Callback(hObject, eventdata, handles)

% hObject    handle to pushbutton1 (see GCBO)

% eventdata  reserved - to be defined in a future version of MATLAB

% handles    structure with handles and user data (see GUIDATA)

set(handles.uipanel2,'Visible','On');

set(handles.uipanel1,'Visible','Off');

 

Do the same for pushbutton2 callback but other way around

 

function pushbutton2_Callback(hObject, eventdata, handles)

% hObject    handle to pushbutton1 (see GCBO)

% eventdata  reserved - to be defined in a future version of MATLAB

% handles    structure with handles and user data (see GUIDATA)

set(handles.uipanel1,'Visible','On');

set(handles.uipanel2,'Visible','Off');


 

Posted by 오늘보다 나은 내일
카테고리 없음2013. 3. 12. 15:39

Header Image


Fracture & Fatigue Overview and Analysis Methods in Fatigue/Fracture 

Low and High Cycle Fatigue: Stress–Life, Strain-Life, nCode Case Study 

Fatigue Crack Propagation: nCode 

Automated Methodology For Modeling Crack Extension in Finite Element Models 

Cohesive Zone Modeling 

Virtual Crack Closure Technology in ANSYS

High Performance Computing and Fatigue Analysis 

 http://www.caeai.com/engineering-analysis-fatigue-seminar.php


Posted by 오늘보다 나은 내일
카테고리 없음2013. 3. 5. 00:46

전기료가 아깝지 않고  부팅시간정도 기다릴 수 있으면 컴퓨터와  upnp로 연결하면된다. 

난.. 둘다 견디지 못해 NAS를 구입하였다.   IPTIME 싸구려 NAS에 집에 굴러다니는 하드 연결  


한국어 영상은  UPNP 로 보면된다.   bubbleupnp 추천 


문제는 자막인데...  

    

- UPNP로 자막 보는건 포기

- 삼바로 연결하면 가능하겠군..   그러나  마땅한 플레이어 프로그램이 없다.. DICE PLAYER, MX PLAYER 모두 마켓에 없고      
  APK를 받아 깔아도 튕기며 실행되지 않는다.

- 검색결과 Vimu Player for Google TV 라는게 있는데.. 유료인데다.. 코덱지원도 시원찮다고...

- aVia media player 라는 공짜 프로그램 발견 


http://androidvnd.com/download.php?id=com.videon.android.mediaplayer&download=true   


마켓에 없으니 위 링크로 받자..



ES 파일 탐색기로 삼바 연결 -> 동영상 재생 ..   역시나 자막이 안나온다..  ㅠㅠ


포기할 수 없다.   ES 파일 탐색기로 자막파일 이동 ( NAS -> GTV  ) .  적당한 위치에 옮긴다.


동영상 재생. aVia media player 좌측하단에 자막아이콘 클릭 -> 자막위치 지정.



잘나온다..   ㅠㅠ  

 

Posted by 오늘보다 나은 내일
카테고리 없음2012. 12. 11. 21:22

Google is preparing to push the Android 4.2 update to Asus Nexus 7 users. However, if you installed a custom ROM on your tablet, then you aren’t eligible to receive the update therefore you need to find a way to restore your tablet to official firmware. It’s very easy to restore your tablet to the original Android 4.1.2 Jelly Bean software, but you need to follow the steps below carefully.

 

Posted by 오늘보다 나은 내일
2012. 11. 6. 16:24

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

카테고리 없음2012. 11. 6. 08:31

Poisson's ratio


Poisson's ratio (\nu), named after Siméon Poisson, is the negative ratio of transverse to axial strain. In fact, when a sample object is stretched (or squeezed), to an extension (or contraction) in the direction of the applied load, it corresponds a contraction (or extension) in a direction perpendicular to the applied load. The ratio between these two quantities is the Poisson's ratio.


Posted by 오늘보다 나은 내일
카테고리 없음2012. 10. 18. 11:27

http://android.googlecode.com/issues/attachment?aid=342120206000&name=wpa_supplicant&token=U5nCUcf3RRFeuiKxNVhM0w4K4rw%3A1350525710707

Steps as follows :
1. Back up your original wpa_supplicant file (copy to "wpa_supplicant.orig" or something like that).  
2. Note the file permissions ("rwxr-xr-x").  
3. Copy in the new wpa_supplicant.
4. Change permissions on the new wpa_supplicant to the same as the old.
5. Reboot.

Posted by 오늘보다 나은 내일
카테고리 없음2012. 10. 12. 21:57

설정> 애플리케이션> 전체탭  > google service framework >데이터지우기 

설정>테블릿정보>시스템 업데이트 

Posted by 오늘보다 나은 내일