eval for running functions

I want to run a list of function (a list of strings) and i'm using eval to do so ,sometimes the matlab get stuck using eval , is there another way to do so?

3 comentarios

Walter Roberson
Walter Roberson el 12 de Ag. de 2013
When you say that it gets stuck, do you mean that an error is generated, or do you mean that there is an infinite loop ?
vered
vered el 12 de Ag. de 2013
no errors the all matlab get stuck(even ctrl c doesn't help) ...the only way to release it is to kill the matlab process.
Azzi Abdelmalek
Azzi Abdelmalek el 12 de Ag. de 2013
Can you post your code?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 11 de Ag. de 2013
Editada: Azzi Abdelmalek el 11 de Ag. de 2013

0 votos

look at str2func function

La pregunta está cerrada.

Etiquetas

Preguntada:

el 11 de Ag. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by