GUIDE created file will not run in MATLAB R2015a

1 回表示 (過去 30 日間)
Andrew Harris
Andrew Harris 2015 年 10 月 17 日
回答済み: Andrew Harris 2015 年 10 月 17 日
Hi, is there a known issue with files created with the GUIDE tool in either R2015a or OSX (or the combination)? I create a new GUIDE interface, save, and attempt to run, and MATLAB returns an undefined function error.

採用された回答

Andrew Harris
Andrew Harris 2015 年 10 月 17 日
It turns out, because the project is object oriented, the guide created function would not run within the class folder for my main object type. It runs now that I have moved it one folder up in the hierarchy.

その他の回答 (2 件)

Walter Roberson
Walter Roberson 2015 年 10 月 17 日
I have not heard of that problem.
Make sure that the name you use starts with a letter, followed by letters and digits and underscore, maximum 63 characters, with no spaces or dash or special characters. Also make sure that the directory that you save into is on your MATLAB path by using pathtool

Jan
Jan 2015 年 10 月 17 日
Where did you save the file? Into a folder, which is included in the Matlab path? See addpath.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by