Why won't external mode in Simulink work? - Arduino
6 ビュー (過去 30 日間)
古いコメントを表示
Hello
I'm running Lubuntu Linux with Matlab 2016a and i've installed the support Arduino support package for both Simulink and Arduino.
The problem is when i'm running/simulate a model in external mode, the time stops at T=0.000 and will not go any further.
What is this kind of a issue? I set the simulation time at 20 seconds but the simulation is still on 0% and T = 0.000.
Why?
I got only one error:
"Not enough memory on the target to process the packet: EXT_SELECT_SIGNALS"
The TX and RX are blinking.
I still can program the Arduino with Simulink if i running that with normal mode. But external won't work for me.
Is this a bug?
1 件のコメント
回答 (3 件)
Swarooph
2016 年 10 月 10 日
Tell us which Arduino hardware you are using exactly. As this page says, External mode for interactive parameter tuning and signal monitoring as your algorithm runs on the device (not available on some boards).
P.S: I seem to recall Uno did not have enough memory to perform External mode (although that might have changed in the recent releases (R2016b) because of better External mode capabilities). Mega has larger memory was able to do External mode. However at this point, I am unable to find the exact documentation that says this..
2 件のコメント
Swarooph
2016 年 10 月 11 日
You might want to try and detect if there are any task overruns in your application. Take a look at this documentation.
Just to help the community understand the question better, are you using both the boards at the same time? Or are you trying to run the same model on the 2 different hardware to compare results and that the issue exists on BOTH the hardware?
Walter Roberson
2017 年 2 月 26 日
In R2016b, external mode is available for Due, Uno, Leonardo, Mega 2560, and Mega ADK.
The list was different for R2016a; Uno was not supported, and I am not sure that Leonardo was supported. Mega ADK was listed in one place in R2016a but not in the main list, so it was not clear it was supported then.
0 件のコメント
manuel rodriguez
2019 年 5 月 19 日
este mensaje me aparece que es La simulación de modo externo no es compatible con el hardware 'Arduino Uno'. Sin embargo, puede implementar el modelo en este hardware. Desde la ventana del modelo, haga clic en el botón "Implementar en hardware".
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!