Why do I keep having multiple GUIDE line errors?

1 vue (au cours des 30 derniers jours)
Taylor Gates
Taylor Gates le 23 Juin 2018
Commenté : Walter Roberson le 18 Juil 2018
I am new to matlab and just experimenting with the software. I try to open any of the 4 preset GUIDEs and none of them will open. I just get lots of errors. Am I doing something wrong or should I redownload the software?
  2 commentaires
Jan
Jan le 23 Juin 2018
Please post messages as text. Screenshots are inconvenient for reading and posting an answer.
Walter Roberson
Walter Roberson le 18 Juil 2018
Please do not close questions that have an answer.

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 23 Juin 2018
Modifié(e) : Jan le 23 Juin 2018
You have created a script called "sum.m", which shadows the built-in function with the same name. This is a bad idea. The solution is to rename your script in C:\Users\Sharon\Documents\MATLAB\My codes\.
  1. Append user-defined folders at the bottom of the path to avoid shadowing built-in functions.
  2. Do not use names of Matlab functions for your own functions.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by