gui图复制后没有断点? [英] No breakpoints after gui figure copying?

查看:122
本文介绍了gui图复制后没有断点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

说,我有两个以下的文件:




  • 与matlab代码包含函数回调和




现在,我正在复制这两个文件:




  • A_copy.m

  • A_copy.fig



这两个文件是通过复制第一个文件创建的。现在的问题是,为什么调试器不会在回调中停止?内部其他功能调试器以其正常方式停止,但不在回调中。当然,我将A_copy.m中的函数名称从A更改为A_copy。



可能遇到哪些问题?



谢谢。

解决方案

哦,我的上帝。



要解决此问题,我必须转到主窗口编辑器属性并更改NAME属性。只是一个包含gui窗口标题的字符串。为什么?为什么?为什么,Mathworks,为什么?



我不敢相信它是如此愚蠢的方式!


Say, I have two following files:

  • A.m with matlab code that contains function callbacks and
  • A.fig with corresponding user interface file.

Now, I'm making copy of these two files:

  • A_copy.m
  • A_copy.fig

These two files were created by just copying the first ones. Now the questions is, why debugger does not stop inside callbacks? Inside other function debugger stops in its normal way, but not in callbacks. Of course, I've changed function name in A_copy.m from A to A_copy.

Which problem may I face?

Thanks.

解决方案

Oh my God.

To fix this problem I had to go to main window editor properties and change NAME property. Just a string that contains title of the gui window. Why? Why? Why, Mathworks, WHY?

I can't believe it is made in so stupid way!

这篇关于gui图复制后没有断点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆