Borrar filtros
Borrar filtros

Simulink error: All inputs must be constant.

11 visualizaciones (últimos 30 días)
wkm42
wkm42 el 1 de Jun. de 2016
Comentada: wkm42 el 2 de Jun. de 2016
Hey,
I receive the following error message when trying to run the Simulink model.
All inputs must be constant.
P-code function 'p_file.p' produced an error.
Code of the Matlab Function Block:
function y = fcn(m,n)
y = p_file(m,n)
I can run p_file(1,12) from workspace without any problem.
Thank you for any suggestions!
  5 comentarios
Walter Roberson
Walter Roberson el 1 de Jun. de 2016
Editada: Walter Roberson el 1 de Jun. de 2016
Sorry, I do not know about that.
Does the p_file use the signal processing toolbox?
wkm42
wkm42 el 2 de Jun. de 2016
Probably it does, but i don't know it for sure, cause i don't have the .m file. It's some kind of filter.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming 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