Cannot Add Parameters - "Parameter is not floating point and will be cast to double"
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dieter
el 21 de Sept. de 2024
Respondida: Dieter
el 24 de Sept. de 2024
I am trying to use the sensitivity analyzer on a golf swing model I have that uses parameters from model workspace. Whenever I try and add parameters to the sensitivity analyzer. Whenever I try and add it says:
"The following parameter(s) are not floating point and will be cast to double: HipConstant"
After saying this it does not add the parameter and does not cast it to double. How do I change my parameters to floating point if that is in fact the issue.
I've tried going into the model workspace and changing parameter data type from auto to double and it doesn't change the behavior.
Edit: I've attached the model and input file to the question.
4 comentarios
Sreeram
el 24 de Sept. de 2024
@Maven Euler: I fixed it by clearing the PreLoadFcn, and placing ModelInputs.mat in the same folder as the SLX file.
Respuesta aceptada
Sreeram
el 24 de Sept. de 2024
Hi Dieter,
I also faced the same issue with the model you shared in MATLAB R2024a. However, I could successfully add the parameter in MATLAB R2024b. So, I recommend updating to MATLAB R2024b.
I hope it helps.
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!