how to run the code using matlab

after doing debugging also i m not able to get through an output

2 Comments

If it is an m script, you can run it either by calling the name in the Command window or by clicking the play button in the editor window!
If it is a matlab function, you need to run it from the command window (with necessary inputs) or can run from the editor if it does not take any inputs!
To run from the command window, the path of the file must be in the Matlab Path!
I am not sure what you want here. Could you add relevant pieces of code or a relevant example?

Answers (0)

This question is closed.

Asked:

on 24 Jan 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!