How to disable popups
Afficher commentaires plus anciens
Hi,
I am running a large Matlab code in Matlab command window. It reads several .mat files. Every time it reads a file, a small popup window appear and then quickly disappears. What is it? How to disable it from popping up?
Thanks.
Jennifer
13 commentaires
Steven Lord
le 12 Jan 2018
Could you provide a small segment of code that causes this popup window to appear? Seeing what you're running would help determining the cause of this behavior. Also, where is the pointer located when you run this code? Is it hovering over the Variables or Current Folder components in the MATLAB Desktop?
JFz
le 12 Jan 2018
Modifié(e) : Image Analyst
le 12 Jan 2018
Image Analyst
le 12 Jan 2018
Can you hit PrintScreen and capture a screenshot that you can post to show us? As far as I know readtable() doesn't throw up a popup message. Maybe it might have a progress bar if it takes more than a few seconds (like it's ahuge file) - I don't know.
I do not find a dialog in the source code of readtable or R2016b. What about using the debugger? Set a breakpoint in the first line of readtable and step through the code line by line (use "step in" to enter the subfunctions) until you find the command, which creates the dialog. Then please post, where you have found it.
JFz
le 12 Jan 2018
Walter Roberson
le 12 Jan 2018
Is it an xls file or an xlsx file? Are you using MS Windows with Excel installed? readtable() talks to Excel by activex for xls files on Windows that has Excel installed and otherwise uses internal code.
JFz
le 12 Jan 2018
Walter Roberson
le 12 Jan 2018
Checking the xlsread code I see that it would delegate to Excel for .xslx files on PCs as well. If it does happen to be an issue with that delegation then adding the 'basic' flag to xlsread would force it to use the built-in code for reading xlsx files.
JFz
le 12 Jan 2018
@JFz: If the dialog pops up when reading a MAT file, it is not a problem of readtable. Can you use the debugger to step through the code line by line to find the command, which runs during the popup appears? Do you get any visual impression of the context of the dialog? Is it a msgbox or warndlg? You can set breakpoint in the corresponding functions to let Matlab stop there and check from where it is called.
This will not help, if the dialog is not created by Matlab. Maybe the virus scanner?
You can run a screen recorder also to grab all frames and copy the contents of the dialog afterwards. A screen recorder is built-in in Windows 10 already.
Under Windows 7 see e.g. https://technet.microsoft.com/en-us/library/2009.03.utilityspotlight2.aspx for a free screen recorder.
Image Analyst
le 13 Jan 2018
Under Windows, you can use the built in psr.exe to do a screen capture every time the screen changes. Type in psr into the "Type here to search" field on the task bar. Start recording, demo your issue, then stop recording and attach the zip file it makes back here.
Greg
le 13 Jan 2018
My understanding is that Problem Steps Recorder only captures the screen on user action. Have you found a setting I'm unaware of to do live video capture?
Image Analyst
le 13 Jan 2018
Not sure. Maybe. Try it and see. Worst case, he can take a video with his mobile phone and post that.
Réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!