Why am I getting "unsupported MATLAB function call" error is Matlab Coder when converting ODE functions?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Alexander Mont
el 30 de En. de 2015
Respondida: Alexander Mont
el 2 de Feb. de 2015
While trying to convert the following test file:
function [ result ] = coder_odetest(start, finish)
tspan = [start, finish];
odeset('AbsTol',1e-10,'RelTol',1e-10);
result = ode45(@f, tspan, 0.5);
end
function [x] = f(t,a)
x=a;
end
the Code Generation Readiness Tool says that odeset and ode45 are not supported for code generation. However, the documentation:
says that these functions are supported for code generation. What is the problem here?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!