how can use m.file variables to another m.file?
1 次查看(过去 30 天)
显示 更早的评论
i have one m.file for gui and another m.file how can use the text field values in another m.file?
0 个评论
回答(1 个)
Image Analyst
2013-12-20
If they're scripts, then the values will be in the base workspace and any code running in the base workspace can use them. Or you could save the variables to a .mat file and have the later m-file read it in.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!