Borrar filtros
Borrar filtros

Error in uploading via Arduino Target,,!!

2 visualizaciones (últimos 30 días)
Mohammad AlShawabkeh
Mohammad AlShawabkeh el 8 de Sept. de 2012
Comentada: Navadeep Ganesh U el 25 de Abr. de 2020
Hello there ,
I have a problem in dealing with the "Arduino Target" library, I have followed the "QUICK START" procedure in the "Read me" file, but during uploading the demo model: demo_arduino_blink, this message occurred:
|The specified code generation target for model 'demo_arduino_blink' cannot be used with a variable-step solver. You must either configure the solver options for a fixed-step solver with an appropriate integration algorithm, or select a target that supports a variable-step solver, such as rsim.tlc. Click Open to launch the configuration dialog. Modify either the solver options on the Solver page or the system target file on the Code Generation page.|
My Matlab version: 2011a
Please help. Regards,

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 10 de Sept. de 2012
As the error suggests, code generation from Simulink models is only supported for fixed-step solvers (you are using a variable-step solver). Open the model Configuration Parameters window and select a fixed-step solver.
  2 comentarios
Navadeep Ganesh U
Navadeep Ganesh U el 25 de Abr. de 2020
Editada: Navadeep Ganesh U el 25 de Abr. de 2020
I am too facing the same issue. Even after changing it to fixed-step, same error message repeated in popup window.
Any fixes ??
Target hardware : Arduino UNO, Serial Connection.
Navadeep Ganesh U
Navadeep Ganesh U el 25 de Abr. de 2020
Tried the same multiple times. I am also getting an error "Unable to convert to binary file".

Iniciar sesión para comentar.

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by