Problem with s-function

2 vues (au cours des 30 derniers jours)
Sirazhudin Alib
Sirazhudin Alib le 9 Nov 2017
Commenté : Sirazhudin Alib le 10 Nov 2017
Hello guys matlab 2017b arduino mega2560 I want "Deploy to Hardware" on my arduino board, but diagnostic viewer indicate "D:/arduinostep/AccelStepper.cpp:297:6: note: no known conversion for argument 1 from 'const int32_T* {aka const long int*}' to 'float'" The library AccelSteppr have lines with 'float ' type. How to specify this data type in the s-function?

Réponses (2)

Sirazhudin Alib
Sirazhudin Alib le 10 Nov 2017
I changed the type of the variable in the s-function to "single", but the problem still remains D:/arduinostep/AccelStepper.cpp:297:6: note: no known conversion for argument 1 from 'const real32_T* {aka const float*}' to 'float' Can someone help me?

Pantech Trichy
Pantech Trichy le 10 Nov 2017
How to achieved Matlab code for high precision, recall and F-measure values in ANN or PNN ?
  1 commentaire
Sirazhudin Alib
Sirazhudin Alib le 10 Nov 2017
??

Connectez-vous pour commenter.

Catégories

En savoir plus sur Block and Blockset Authoring dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by