Why do I keep having multiple GUIDE line errors?

1 visualización (últimos 30 días)
Taylor Gates
Taylor Gates el 23 de Jun. de 2018
Comentada: Walter Roberson el 18 de Jul. de 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 comentarios
Jan
Jan el 23 de Jun. de 2018
Please post messages as text. Screenshots are inconvenient for reading and posting an answer.
Walter Roberson
Walter Roberson el 18 de Jul. de 2018
Please do not close questions that have an answer.

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 23 de Jun. de 2018
Editada: Jan el 23 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by