Click here to Skip to main content
15,886,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
I had a problem with a matlab function.
The function runs in debug mode with no problem, but in doesn't execute without debugging.
So what should I do, how can I execute that without going on debug mode?

Thanks.
Posted
Comments
super 18-Mar-15 7:29am    
Can you be more specific? Which function were you using and what do you mean by "doesnt execute"? Is the output wrong or skips the whole function?
rogerfederer670 18-Mar-15 8:26am    
The main function of the program, I mean when i'm pressing the execute button on the toolbar, the function doesnt execute but when there are some break points in the main function, pressing execute button causes to execution of the function.

So what could be the reason?
super 18-Mar-15 8:50am    
Can you put the sample of the code for better understanding. Generally if the debugging works then it means the execution should work.
Is it possible to define couple of global variables in the main funnction and see if the values changes in the workspace window?
What happens when you try to execute the function from the command prpmpt?
rogerfederer670 18-Mar-15 11:07am    
Thanks about your answers, but it was my misunderstanding and the problem solved fortunately.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900