Unrecognized function or variable 'dftp1151'.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I use dfield8 or dfield9 (Not both) and don't draw because has a error like that:
Error using feval
Unrecognized function or variable 'dftp1151'.
Error in dfield9>dfdp45 (line 4041)
f0 = feval(dfcn,t,y);
Error in dfield9 (line 1817)
[tp,xp] = feval(solvhandle,dfcn,intplus,initpt(2),disph);
Error in dfield9 (line 1710)
dfield9('solution',initpt,disph);
Error while evaluating Figure WindowButtonDownFcn.
How can I fix it?
0 comentarios
Respuestas (1)
Aman
el 22 de Ag. de 2024
Hi Edwin,
As per my understanding, you are unable to use the "dfield9" function due to some error.
Without the actual code, it is difficult to debug the problem, but still, I went ahead and checked the code of the "dfield9" function and found that in the function it checks for old files created by the "dfield9" function, and for finding them out, it checks the name of the file starting with the string "dftp" and then sets some solver handler as per that. The exact line that checks for this is below.
% Next we look for old files created by dfield9.
oldfiles = dir('dftp*.m');
So as per the error you are receiving, the code found the 'dftp1151.m' file and is trying to execute it but is unable to do so as it may not be added to your path, so can you please add that file to the path and rerun the code to see if it works or not?
I hope this will help you to proceed ahead with your workflow.
0 comentarios
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!