Delay automatic unfolding in App Designer due to syntax errors in function definition
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Michael Van de Graaff
      
 el 4 de Dic. de 2021
  
    
    
    
    
    Respondida: Cris LaPierre
    
      
 el 20 de Feb. de 2022
            I have built an image fitting app that I use for my work. The app has several private functions, which I occasionally edit. 
For example, I might edit the input arguments to a function as follows: 
Before the edit: function5(app,arg1,arg2)
mid edit: function5(app,arg1,arg2,)   (note the syntax error at the end)
done editing: function5(app,arg1,arg2,arg3)
If i'm very fast, everythign is fine. However, if i'm not very fast, and MATLAB notices mid-edit that I have the syntax error in 'function5(app,arg1,arg2,)' then the app designer unfolds EVERYTHING, which is annoying considering i have 4000 lines of code. 
Is there some setting I can adjust so matlab will just CALM DOWN and give me a hot second to finish my edit so I dont have to refold and then unfold to the spot i want?
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!