Problems in running functions

2 Ansichten (letzte 30 Tage)
Muazma Ali
Muazma Ali am 24 Sep. 2019
Bearbeitet: per isakson am 25 Sep. 2019
Hi
Dont know what the problem is yesterday I couldnt save the functions in Matlab and now not able to run them...
  3 Kommentare
Michal
Michal am 24 Sep. 2019
None of us have a crystal ball to see what you actually have a problem with ... :)
Steven Lord
Steven Lord am 24 Sep. 2019
What happens when you try to save a function in MATLAB? If you receive an error (red text) and/or a warning (orange text) show us the full and exact text of those messages. The exact text may tell us the cause of the problem you're experiencing and/or suggest ways to resolve it.
Once you're able to save a function, what happens when you try to run that function? Again, if you receive an error or warning message show us the full and exact text.
Also tell us or show us exactly how you're trying to run that function. If you type the name of the function (with input arguments?) in the MATLAB Command Window, show us what you typed. If you ran it via the Run button in the Editor, tell us that. If you're trying to run it some other way, show us what you're doing if possible and tell us what you're doing if it's not possible to show.
I'll give you a simple function to try to run. Run this using your usual procedure.
function helloWorld
disp('Hello world!')
end

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by