Problems in running functions

조회 수: 2 (최근 30일)
Muazma Ali
Muazma Ali 2019년 9월 24일
편집: per isakson 2019년 9월 25일
Hi
Dont know what the problem is yesterday I couldnt save the functions in Matlab and now not able to run them...
  댓글 수: 3
Michal
Michal 2019년 9월 24일
None of us have a crystal ball to see what you actually have a problem with ... :)
Steven Lord
Steven Lord 2019년 9월 24일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by