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 commentaires

Walter Roberson
Walter Roberson le 12 Août 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 le 12 Août 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 le 12 Août 2013
Can you post your code?

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 11 Août 2013
Modifié(e) : Azzi Abdelmalek le 11 Août 2013

0 votes

look at str2func function

Cette question est clôturée.

Tags

Question posée :

le 11 Août 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by