Changing variable from appdesigner in matlab script
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Furkan Karaman
el 5 de Oct. de 2022
Comentada: Eric Delgado
el 21 de Oct. de 2022
Hello,
How can I send a value for a variable from appdesigner to the workspace which is then used in a matlab script?
0 comentarios
Respuesta aceptada
Eric Delgado
el 5 de Oct. de 2022
You can use assignin to send the variable to Matlab base workspace.
% Suppose that you have a variable named "app.myVariable"
assignin('base', 'myVariable', app.myVariable)
openvar('myVariable')
6 comentarios
Eric Delgado
el 21 de Oct. de 2022
Great to hear! Now that you are super happy with my support, you accept my answer, ok? :)
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!