简体   繁体   English

如何在 Matlab 应用程序设计器中使用 Excel?

[英]How can I use Excel in Matlab App designer?

So I created a beautiful graphical interface with Matlab App Designer, in which I can define a Mechanical product.所以我用 Matlab App Designer 创建了一个漂亮的图形界面,我可以在其中定义一个机械产品。 My interface contains 3 sub-interfaces.我的界面包含 3 个子界面。 I created a drop-down menu containing 4 languages.我创建了一个包含 4 种语言的下拉菜单。 Every time I choose a language, all the texts and titles of the interface change according to the language chosen (French, English, Spanish, Russian), and I have coded all the words of the interface (texts and titles) in the .m program of the interface.每次我选择一种语言时,界面的所有文本和标题都会根据选择的语言(法语、英语、西班牙语、俄语)而变化,并且我已将界面的所有单词(文本和标题)编码在.m中接口的程序。 Now I want to Do all this by just browsing an Excel file containing all the languages and all the words, to avoid the programming overload ( .m ) of the interface and I come to you, to solicit you to give me an idea (how can I do this with an Excel file?).现在我想通过浏览一个包含所有语言和所有单词的 Excel 文件来完成这一切,以避免界面的编程过载( .m ),我来找你,请你给我一个想法(如何我可以用 Excel 文件来做到这一点吗?)。

Not sure if I understand you correctly.不确定我是否理解正确。 You have a dropdown menu where users select a language.您有一个下拉菜单,其中用户 select 是一种语言。 Then you update the titles (other static texts) of your GUI based on the selected language.然后根据所选语言更新 GUI 的标题(其他 static 文本)。 If I am correct so far, I dont understand what you mean by "doing all this by just browsing Excel".如果到目前为止我是正确的,我不明白您所说的“仅通过浏览 Excel 来完成这一切”是什么意思。 If you copy-paste a part of your code, that would help.如果您复制粘贴代码的一部分,那将有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 App Designer 中停止我的网络摄像头循环? Matlab - How can I stop my webcam loop in App Designer? Matlab 如何在MATLAB的应用程序设计器中使用'waitfor'或'uiwait'? - How use 'waitfor' or 'uiwait' in app designer of MATLAB? 如何仅允许运行一个在MATLAB的APP DESIGNER中创建的应用实例? - How can I allow only one instance of app to run which created in APP DESIGNER of MATLAB? 我可以在 MATLAB App Designer 中包含一个词干 plot - Can I include a stem plot in MATLAB App Designer 如何使用Matlab App Designer显示数据/信息? - How do I display data/information with Matlab App Designer? 如何将Picturebox添加到Matlab App Designer? - How to add picturebox to Matlab App Designer? 从 excel 读取数据到 MATLAB App Designer 中的表 - Read data from excel to table in MATLAB App Designer 如何在 Matlab 的应用程序设计器应用程序中显示具有另一个表作为变量的表? - How do I display a table which has another table as a variable in app designer app in Matlab? 如何在MATLAB App Designer中使用属性在两个应用程序之间共享数据? - How to use properties to share data between two apps in MATLAB App Designer? MATLAB App Designer 应用程序能否启动保存数字的脚本? - Can a MATLAB App Designer app launch a script which saves figures?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM