Filter löschen
Filter löschen

Problem with using many functions

5 Ansichten (letzte 30 Tage)
ld zhu
ld zhu am 26 Feb. 2020
Kommentiert: ld zhu am 5 Mär. 2020
There are many functions that I cannot use, it always shows the same error:
It's 2019b version. I cannot find way to solve this bug. Thank you if you have some advice.
"Attempt to execute SCRIPT mrdivide as a function:
C:\Program Files\MATLAB\R2019b_x64\toolbox\matlab\ops\mrdivide.m"
  2 Kommentare
Sindar
Sindar am 26 Feb. 2020
Can you include some sample code?
ld zhu
ld zhu am 5 Mär. 2020
Thank you , the problem has been solved.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sahithi Metpalli
Sahithi Metpalli am 3 Mär. 2020
Hi,
The above problems occur when
1.There exists a script file and function with same name. The script appears before the function in the MATLAB path causing the error.
2.You are attempting to call a script file by passing arguments to it similar to function.
To resolve the error, you could try one of the following:
  • Rename Script file
  • Change the current folder
  1 Kommentar
ld zhu
ld zhu am 5 Mär. 2020
Thank you, the problem has been solved.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by