Is matlab getting rid of the string variable?

3 vues (au cours des 30 derniers jours)
John Hunt
John Hunt le 4 Oct 2019
I tried to run a program that I made in matlab to write some G code and I got an error saying that the variable type sting will no longer be supported. Is that really happening?
Thanks
  2 commentaires
the cyclist
the cyclist le 4 Oct 2019
That seems radically unlikely to me.
Can you post the full error you saw, and ideally a self-contained code snippet (i.e. that we can run ourselves) that will generate the error?
John Hunt
John Hunt le 4 Oct 2019
Well, I opened up matlab again and ran the same code and it worked just fine. The might have been a weird update or something, but the error is gone.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Oct 2019
Yes. In fairly old versions of MATLAB around R12 there was a datatype named string that was removed from MATLAB. I no longer recall what it used to do.

Plus de réponses (0)

Catégories

En savoir plus sur Logical 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