How can I handle global variables in matlab coder?
조회 수: 6 (최근 30일)
이전 댓글 표시
Dear friends, I need to convert a m file to mex file using matlab coder. On this m file I had some global variables (I have a initial value and, solving any equations, I update this value) I need to use a file for save it or you know a better way? Tanks!!
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 5월 9일
The below has some fixed-point specific points in it, but I have often found the fixed-point documentation to have a lot of useful information about code generation; see for example the discussion about when the variable needs to be synchronized:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Algorithm Acceleration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!