简体   繁体   中英

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. My interface contains 3 sub-interfaces. I created a drop-down menu containing 4 languages. 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. 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?).

Not sure if I understand you correctly. You have a dropdown menu where users select a language. Then you update the titles (other static texts) of your GUI based on the selected language. If I am correct so far, I dont understand what you mean by "doing all this by just browsing Excel". If you copy-paste a part of your code, that would help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM