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 个评论

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 ?
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.
Can you post your code?

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-8-11
编辑:Azzi Abdelmalek 2013-8-11

0 个投票

look at str2func function

此问题已关闭。

标签

提问:

2013-8-11

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by