필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Question about generating C code from simulink blocks

조회 수: 4 (최근 30일)
Christin
Christin 2012년 11월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
When using Matlab 2011, simulink block PID(z)'s generated code does not work when moved to a target device. However when the equivalent structure of PID; that is gain block for Kp, discrete integral block for Ki and discrete derivative block for Kd is used for the same constants. The generated code works. Is this related to the version of Matlab being used? If not what is the possible reason?
  댓글 수: 1
Ryan G
Ryan G 2012년 11월 19일
What is the process for generating code and putting it on the target? For a simple discrete PID control you should be able to read through the generated code to determine what it is doing.

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by