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 Comments

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?

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 11 Aug 2013
Edited: Azzi Abdelmalek on 11 Aug 2013

0 votes

look at str2func function

This question is closed.

Tags

Asked:

on 11 Aug 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!