help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Octave-maintainers Digest, Vol 156, Issue 33


From: JohnD
Subject: RE: Octave-maintainers Digest, Vol 156, Issue 33
Date: Tue, 19 Mar 2019 13:06:08 -0400

> 
> Message: 1
> Date: Tue, 19 Mar 2019 09:35:56 -0500 (CDT)
> From: Igor1954 <address@hidden>
> To: address@hidden
> Subject: arduinosetup error
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> 1. I install  arduino-0.3.0 to Octave 5.1.0.
> 
> 
>  >> pkg list
> 
> Package Name         | Version | Installation directory
> ---------------------+---------+-----------------------
>             arduino  |   0.3.0 |
> ...\OCTAVE~1.0\mingw32\share\octave\packages\arduino-0.3.0
> 
> 2. Regardless of the method of installing the Arduino toolkit, in order to
> use its functions, the toolkit must be loaded using the pkg load command:
> 
> >> pkg load arduino
> 
> 
> 3. Then to program the hardware, using a default configuration, I run the
> arduinosetup command:
> 
> >> arduinosetup
> 
> I have error:
> trypath = C:\Program Files (x86)\Arduino\arduino.exe
> error: __arduino_binary__: can not find the arduino binary
> error: called from
>     __arduino_binary__>find_arduino_binary at line 75 column 5
>     __arduino_binary__ at line 26 column 22
>     arduinosetup at line 188 column 21
> 
> Here are the lines187-188-189 in arduinosetup:
> 187    # start the arduino ide
>  188   if isempty (arduinobinary) arduinobinary = __arduino_binary__ ();
>  189    endif
> 
> The Arduino IDE program is installed and works fine with the Arduino UNO
> board.
> 
> Please help me correct this error.
> 
> 

Redirected to the help list

What version of the Arduino ide do have installed ?

The software currently looks in the path for binary and it cant find it,
then looks in the registry at:

arduino_binary = winqueryreg("HKLM",
'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\arduino.exe');
and then:
arduino_binary = fullfile(winqueryreg("HKLM",
'SOFTWARE\WOW6432Node\Arduino', 'install_dir'), 'arduino.exe');


If the Arduino is not in the path and cant be found in the registry, you
will either need to get it in the path, or specify the path as part of the
arduinosetup command:

arduinosetup('arduinobinary', '/path_to_the_installed_arduino/arduino.exe')






reply via email to

[Prev in Thread] Current Thread [Next in Thread]