How do you tell matlab to exit a function with an if test in matlab?(adsbygoogle = window.adsbygoogle || []).push({});

I have tried

if x > 0

exit/quit

,but I dont want to exit matlab only the function

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Exit function in matlab

Loading...

Similar Threads - Exit function matlab | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Matlab Dotting autonomous functions | Jan 24, 2018 |

Mathematica Piecewise Function | Jan 18, 2018 |

How to exit a for loop | Nov 24, 2011 |

**Physics Forums - The Fusion of Science and Community**