Is it possible to run a .m file continuosly by changing the input parameters?

1 visualización (últimos 30 días)
I am having a function in .m file. But the input to this function comes from a simulink block. I passed the input into workspace. But how to run the file continously with changing inputs. I tried using matlab function block but it shows a lot of errors. Is there any method, other than using a matlab function block,to call a function inside a simulink model.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 30 de Sept. de 2013
Matlab function block doesn't allow all matlab function. You can use Interpreted Matlab Function
  3 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 30 de Sept. de 2013
Yes. click on the blue link above to read the help
Vidhya Dharshini
Vidhya Dharshini el 1 de Oct. de 2013
Thank u so much sir.....i got the answer....

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions 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!

Translated by