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 件のコメント

Walter Roberson
Walter Roberson 2013 年 8 月 12 日
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 2013 年 8 月 12 日
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 2013 年 8 月 12 日
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