Conversion to 'sym' from 'inline' is not possible.
조회 수: 8 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2013년 1월 17일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!