Using Simulink blocks with different run Modes (external, normal mode)
이전 댓글 표시
Hi,
I am trying to build a simulink mode that contains different Hardware parts. - A data Recorder+amplifier block that is working only in Normal mode (as provided by the company simulink package).
- The recorded data is processed and used to control a Lego EV3 Robot. The Lego Robot package of Matlab 2014 works in External mode only.
Putting all the blocks in a single Simulink model I can not get the desired performance. - In Normal mode: the code Runs but the commands are not transmitted to the Robot (that works in external mode)
- In External mode: the code will not Run due to error in the S-function of the Amplifier.
- I also tried to use the Real-Time synchronization block (after choosing the Normal mode), but still the Robot can not see the sent signal.
Is there a way to make the whole system works on a single computer? Thanks
댓글 수: 1
Kaustubha Govind
2014년 7월 15일
Which library does the Amplifier block come from? Perhaps it is not supported for code generation?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 LEGO MINDSTORMS EV3 Hardware에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!