[NFB-Science] Matlab and Jaws

Currin, Kevin kwcurrin at email.unc.edu
Sun Jun 14 13:22:49 UTC 2020


Hi Eric,

Another option for getting the output from the command line is to copy and paste it into a blank notepad file.

KevinSent from my iPhone

> On Jun 13, 2020, at 9:33 PM, Eric Mandell via NFB-Science <nfb-science at nfbnet.org> wrote:
> 
> Hi Daniel,
> 
> Thanks, that was really helpful. I don't know if Matlab support knew
> about that. The process is the same for me running Windows 10 and
> Matlab R2019B. The hot key Windows + R opens the run dialog box and
> "matlab -nodesktop" command works as you mentioned. I encounter the
> same cursor issue using NVDA but if I hold down the NVDA key and use
> the up and down arrows I can find the output of my code.
> 
> Daniel, do you ever send your Matlab output to a text file to make
> reading it a little easier?
> 
> Cheers,
> Eric
> 
> 
> 
>> On 6/13/20, Daniel Gillen <daniel.l.gillen at gmail.com> wrote:
>> Dear Eric and Abdulaziz,
>> 
>> As someone who has experience programming in MATLAB on a Windows computer,
>> I've been using the software in its native command line mode. To run MATLAB
>> in this way, you'll need to access the Run dialog box (I know that's the
>> case in Windows 7, not sure about later versions) and type "matlab
>> -nodesktop" (without the quotes). From there MATLAB will open with a
>> command-line-only interface. Of course when creating scripts or functions,
>> it's best to start writing them in some sort of text file, then save this
>> with a .m extension. That way you can call your script or function from the
>> MATLAB command line and read your output. For JAWS users, the only caveat I
>> would have about that is the output is only accessible with the JAWS Cursor
>> (numpad minus on a full desktop keyboard). There might be a similar issue in
>> NVDA, but I'll need to investigate that. Hopefully that helps.
>> 
>> Thank you,
>> DanielOn Jun 13, 2020 3:38 PM, Eric Mandell via NFB-Science
>> <nfb-science at nfbnet.org> wrote:
>>> 
>>> Hi Abdulaziz,
>>> 
>>> I am running NVDA on Windows, but JAWS will be the same. The desktop
>>> version of Matlab is totally inaccessible and the online version of
>>> Matlab, while slightly more accessible, is just not good enough to be
>>> usable. Because of this I decided to figure out how to run Matlab
>>> scripts using the Windows  command line. I worked with Matlab support
>>> and here is what I learned. You will need to make a Batch file to run
>>> from the command line and that calls your Matlab script. To do this
>>> follow these steps:
>>> 
>>> 1. Open a new file in your text editor of choice.
>>> 2. Copy and paste in this text:
>>> 
>>> matlab -nosplash -noFigureWindows -batch "run('C:\users\file.m'); quit"
>>> 
>>> 3. You will have to change the "C:\users" To the directory where you
>>> have the Matlab script file you want to run.
>>> 4. Save this file as batch.bat. The file name is not important but the
>>> .bat file extension is required.
>>> 5. Open another new file in your text editor and write the Matlab code
>>> exactly as you would in Matlab and save this file as file.m. The file
>>> name needs to match the file name in the batch file.
>>> 6. Open Windows command line and run batch.bat.
>>> 
>>> This process worked for me and I was able to get the output of my
>>> Matlab script printed to the command line. I only just learned this so
>>> I have not played around with it very much but hopefully that at least
>>> gets you started.
>>> 
>>> Don, I unfortunately don't have any knowledge of PSpice.
>>> 
>>> Cheers,
>>> Eric
>>> On 6/12/20, Donald Winiecki via NFB-Science <nfb-science at nfbnet.org>
>>> wrote:
>>>> I would like to piggyback on Abdulaziz's question.
>>>> 
>>>> We will have an Electrical Engineering student who is blind in "Circuits
>>>> 2"
>>>> this coming fall semester. It looks like the lab may be conducted
>>>> principally online using PSpice. If anyone has any recommendations
>>>> and/or
>>>> cautions about the accessibility or use of PSpice for lab work I will be
>>>> 
>>>> grateful to receive them!
>>>> 
>>>> Best,
>>>> 
>>>> _don
>>>> 
>>>> 
>>>> On Fri, Jun 12, 2020 at 12:20 PM Abdulaziz Said via NFB-Science <
>>>> nfb-science at nfbnet.org> wrote:
>>>> 
>>>>> Hello,
>>>>> I am currently a student at University who will be taking a circuits
>>>>> course next semester. In the laboratory portion of this class we will
>>>>> be
>>>>> required to use Matlab and Simulink. I am wondering if there are any
>>>>> tools
>>>>> or suggestions for how to access these softwares using jaws on a
>>>>> windows.
>>>>> Thank you
>>>>> _______________________________________________
>>>>> NFB-Science mailing list
>>>>> NFB-Science at nfbnet.org
>>>>> http://nfbnet.org/mailman/listinfo/nfb-science_nfbnet.org
>>>>> To unsubscribe, change your list options or get your account info for
>>>>> NFB-Science:
>>>>> 
>>>>> http://nfbnet.org/mailman/options/nfb-science_nfbnet.org/dwiniecki%40handid.org
>>>>> 
>>>>> 
>>>> _______________________________________________
>>>> NFB-Science mailing list
>>>> NFB-Science at nfbnet.org
>>>> http://nfbnet.org/mailman/listinfo/nfb-science_nfbnet.org
>>>> To unsubscribe, change your list options or get your account info for
>>>> NFB-Science:
>>>> http://nfbnet.org/mailman/options/nfb-science_nfbnet.org/emandell2%40gmail.com
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> NFB-Science mailing list
>>> NFB-Science at nfbnet.org
>>> http://nfbnet.org/mailman/listinfo/nfb-science_nfbnet.org
>>> To unsubscribe, change your list options or get your account info for
>>> NFB-Science:
>>> http://nfbnet.org/mailman/options/nfb-science_nfbnet.org/daniel.l.gillen%40gmail.com
>>> 
>> 
> 
> _______________________________________________
> NFB-Science mailing list
> NFB-Science at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfb-science_nfbnet.org
> To unsubscribe, change your list options or get your account info for NFB-Science:
> http://nfbnet.org/mailman/options/nfb-science_nfbnet.org/kwcurrin%40email.unc.edu




More information about the NFB-Science mailing list