Verbosity argument issue with Simulink external mode
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I tried to use Simulink external mode to run my model with ROS target device and got the error:"Verbosity argument must be a real, scalar, integer value in the range: [0-1] " (please see the error in attached screenshot). The model has no issue with run in Simulink normal mode or deploy to ROS Hardware (build or code generatation).
Does anyone have similar issue or solution to it?
Thanks in advance!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274537/image.png)
댓글 수: 1
john
2023년 11월 13일
hello, i have the same problem. do you sovle this issue? could you offer some advices for me, thank you.
답변 (1개)
Roshni Garnayak
2020년 3월 4일
Follow these steps to resolve the error:
1. Go to configuration parameters -> Code Generation -> Real-time Windows Target
2. Under external mode options, make sure that the argument values for MEX-file arguments are real, scalar or integer value in the range [0-1].
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Messages에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!