matrix inverse in plc coder
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I want to use matrix inverse in my simulink workspace and generate the code using plc coder.
I tried doing it using "inv(a)" in embedded matlab block, but i get an error that it is not supported !!
Is there a way to create an inverse block which can generate plc code using plc coder??
Thanks in advance..
댓글 수: 0
답변 (1개)
Bill Chou
2012년 6월 21일
Hi Puneeth,
I'm able to generate structured text from a Simulink model with a MATLAB Function block that uses inv(a). I'm using R2012a.
Can you share the model that you're using? Also, which version of MATLAB (R20??) are you using? You can find this info by typing "ver" in the MATLAB Prompt.
Thanks!
Bill Chou, MathWorks
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!