Why won't external mode in Simulink work? - Arduino
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Risposte (3)
Swarooph
il 10 Ott 2016
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 Commenti
Swarooph
il 11 Ott 2016
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
il 26 Feb 2017
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 Commenti
manuel rodriguez
il 19 Mag 2019
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 Commenti
Vedere anche
Categorie
Scopri di più su Arduino Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!