필터 지우기
필터 지우기

Combining multiple .m files and a .fig file into one?

조회 수: 3 (최근 30일)
Christopher Dalldorf
Christopher Dalldorf 2015년 7월 21일
편집: Christopher Dalldorf 2015년 7월 21일
I made a gui using guide which relies on some .m files. At this point I have my gui.m file and the gui.fig file that it loads up, and then two separate .m files containing functions that gui.m uses. I understand I could really just copy/paste the separate .m files onto the bottom of gui.m, but I'd rather not as other programs rely upon them also.
My question is if there is some way to combine these .m files with the .fig file into one file I can send to other computers to run? I'm writing this function as part of a research project and other people will be using it and it's a pain to send around all these files and explain that they need to download all four and put them in one folder.
Thanks! Chris

채택된 답변

Titus Edelhofer
Titus Edelhofer 2015년 7월 21일
Hi,
on more recent versions there is the tab "APPS" where you can package your code via the button "Package App".
Titus
  댓글 수: 1
Christopher Dalldorf
Christopher Dalldorf 2015년 7월 21일
편집: Christopher Dalldorf 2015년 7월 21일
Ah, thanks so much! Somehow after about 5 years of using MatLab I have never gone into the apps tab...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by