Conversion to 'sym' from 'inline' is not possible.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When i try to set the array of functions F(I)
for I=1:4
B = A(I)
F(I) = inline(B)
end
where A is a symbolic matrix, Matlab shows up the error mesage Conversion to 'sym' from 'inline' is not possible. How can i fix it?
0 comentarios
Respuestas (1)
Walter Roberson
el 17 de En. de 2013
Don't try to convert from sym to inline. Also, do not try to store multiple functions as elements F(I)
for I = 1 : 4
F{I} = matlabFunction(A(I));
end
0 comentarios
Ver también
Categorías
Más información sobre Function Creation 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!