user interface - Relocating ".fig" files when creating a GUI using Matlab GUIDE -


i've developed gui build scripts, , in process of deploying it. script deployed number of different machines @ various points, need use standard format of directories team use.

the gui consists of ".fig" file contains visual definition of ui, , m-script defines functionality. need locate these 2 in "fig/" , "m/" folders respectively, can't figure out how to. first searched include statement of kind in m-script, when run on own, error message in command window states ".fig" file can't found, there doesn't seem reference ".fig" file anywhere, assume it's inferred both files have same name different extension.

i fear matlab's gui system requires both ".m" , ".fig" files in same location, inelegant solution i'd rather not go if can avoid it.

the next thing i'm going try call script copies fig file other directory same location m-script, when executed, deletes copy once script exits, again seems clunky solution, allow me adhere team's organisation conventions.

does else know of undocumented means of specifying relative location of gui ".fig" file?

you can export guide-generated gui single .m file. check out blog post: guide guis in 1 file.

i'm not sure if new feature, or 1 of things has been there...

enter image description here


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -