command inputdlg doesnnot work

1 次查看(过去 30 天)
Pauline
Pauline 2014-2-5
Hello everyone,
Whenever i try to use the command inputdlg, the box appears but it is impossible to type any answer (there is no space for it).
i have been looking online and havent been able to find a solution to my problem
I hope one of you will have a solution on how to solve it
thank you in advance!
  4 个评论
Amit
Amit 2014-2-5
Okay. It works fine on my computer as well. Resolution issues?
Pauline
Pauline 2014-2-5
编辑:Pauline 2014-2-5
hm when i open matlab, i always get a message telling me that "the program is going to change the color scheme to Windows 7 Basic" but i have always gotten it and if im not mistaken i think this command has worked before.
i was thinking that it was related to microsoft visual c++ but im not sure if its the case or even how to solve it if it is.

请先登录,再进行评论。

回答(3 个)

Image Analyst
Image Analyst 2014-2-5
It sounds like you're running MATLAB via a VNC remote session or have connected your computer to an external projector. Are you doing either of those things?
  8 个评论
Pauline
Pauline 2014-2-5
编辑:Pauline 2014-2-5
This message doesnt accure when i use the inputdlg function but when i open matlab
i doubt that this message is related to the problem im having with the inputdlg function knowing that i have always had this message appearing since i have matlab.
Image Analyst
Image Analyst 2014-2-6
So you're having two different problems then. I agree with Andreas - time to upgrade. One last thing you could try and that is to run your MATLAB in compatibility mode with XP (if you're using Windows 7 or later) to try to trick it into thinking it's running on XP which is the platform your old version of MATLAB was designed for.

请先登录,再进行评论。


David Sanchez
David Sanchez 2014-2-5
It seems someone played with pcode.... Go to
C:\MATLAB701\toolbox\matlab\uitools\
and delete the file
inputdlg.p
Make sure
inputdlg.m
is there.
  1 个评论
Pauline
Pauline 2014-2-5
i have never touched those pcode files
i just deleted it and tried my code again, i now get this error message
??? Previously accessible file "C:\MATLAB701\toolbox\matlab\uitools\inputdlg.p" is now inaccessible.
Error in ==> mailler_rectangle_structure at 10
answer=inputdlg(prompt,title);

请先登录,再进行评论。


Andreas Goser
Andreas Goser 2014-2-5
MATLAB 7.0.1 is pretty old and not supported on Windows 7, see page. I suggest to upgrade.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by