The sign "~" is not backwards compatible?
Mostrar comentarios más antiguos
I am using MATLAB 2010b and I created a GUI in GUIDE. The code generated by Matlab contained a lot of input variables for GUI objects like "hObject" and "eventdata".
The tool which shows you the errors/warnings concerning your code gave messages like: "Input argument 'hObject' might be unused. If this is OK, consider replacing it by ~" I could just click 'Fix' and it did by itself.
I clicked Fix on these error messages, therefore in place of quite a lof of unused input arguments there are tildes (~) in my code now in large amounts, hundreds of them. The problem is that I gave my code to another person, who is using Matlab 2008, and it doesn't recognize the ~ sign. I tried to delete them all, but of course then it returns with "not enough input arguments"
Is there any automatic way to fix this issue? It would be really painful to write back all the input arguments manually and would take hours.
Thank you in advance, László
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Argument Definitions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!