how to open an .m file with a dialog box
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Alessandro Sardelli
le 5 Mar 2015
Commenté : Alessandro Sardelli
le 6 Mar 2015
Hi, is it possible to open a file from a dialog box as if you were calling from the command window? Specifically, I need to load some variables to use in a GUI from an .m file in a specific directory. I'm going crazy!
3 commentaires
Adam
le 5 Mar 2015
Why don't you just have your script save the variables in a .mat file then you can load that wherever you want?
Réponse acceptée
Sean de Wolski
le 5 Mar 2015
open foo.m
Or
edit foo.m
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Adding custom doc 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!