How to use solve function in Embedded function block of simulink ?

I donit know use solve equation in Embedded function block of simulink.Because when i create syms vriable in Embedded function block of simulink,Matlab tell error.How do you solve this problem? Thank you.

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 5월 16일

0 개 추천

What is the exact error message that you receive? Note that solve (or any of the Symbolic Math Toolbox functions) is not amongst the functions supported in Embedded MATLAB. You need to use the eml.extrinsic (code.extrinsic starting in R2011a) directive if you'd like to use an unsupported function (the call is dispatched to the MATLAB engine since code cannot be generated for it).

추가 답변 (1개)

Cocoh
Cocoh 2011년 5월 16일

0 개 추천

Thank you Kaustubha Govind .Is there another method can i try? How to? (I used V.2010R)

댓글 수: 1

Using eml(coder).extrinsic is only available method - is there a reason this is not satisfactory?

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by