필터 지우기
필터 지우기

Export Geometry Description from Pdesolver app

조회 수: 1 (최근 30일)
Sarinthree Udchachone
Sarinthree Udchachone 2020년 3월 22일
답변: Anudeep Kumar 2020년 3월 27일
I have the following code:
x= 0:0.1:1;
y= x.^2-x+1;
x=[0 x 1];
y=[0 y 0];
pdepoly(x,y);
When I run it, it opens a graph through pdesolver app. There is a button “Draw” on top of the graph which allows to Export Geometry Description, Set Formulas, Labels.
Question: Is there a command to “Export Geometry Description...” through Command Window or m.file itself ?
Thank you!
~Sandy

답변 (1개)

Anudeep Kumar
Anudeep Kumar 2020년 3월 27일
Hey, there is no Matlab command to do that but what would I suggest is you can open the source of the function pdepoly() selecting it and pressing ctrl+d or right click and select open selection or you can use :
>> edit pdepoly
and copy it another script and rename it to a different name and modify it to return the variable pdegd . You can use it in your script and that would solve your issue. You can also return any other variable like label , set formula etc.
function pdegd=mypdepoly(x,y,label)
.......
and so on

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by