How to display the name of my ODE used, as figure title?

조회 수: 1 (최근 30일)
VIGNESH SELVAM
VIGNESH SELVAM 2017년 5월 19일
댓글: Santhana Raj 2017년 5월 22일
Hi, I am trying to solve a Matlab code with too many sub-functions. I have created a function for all plots, and I handle with many figures. So I decided to name them based on time. But now I'm parallelly running three simulations of the same code with different solvers. So it would be better that if I name them with the solver used. I need to name them automatically, rather than renaming them each time when I change the solver.
Is there a way-...?
thank you in advance....

답변 (1개)

Santhana Raj
Santhana Raj 2017년 5월 19일
편집: Santhana Raj 2017년 5월 19일
The below code works in 2017a:
figure('Name','SolverName','NumberTitle','off')
  댓글 수: 2
VIGNESH SELVAM
VIGNESH SELVAM 2017년 5월 19일
I am using 2016a, but how come you can get the solver name very explicitly?., Is SolverName a predefined variable?.
thanks for your answer.
Santhana Raj
Santhana Raj 2017년 5월 22일
You mentioned that you are running three simulations with different solvers. In each simulation, t=in the above command, replace the 'SolverName' with the respective solver name that you are using in that simulation.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by