help-octave
[Top][All Lists]
Advanced

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

Re: strcat.m undefined problem in 5.2.0


From: Kai Torben Ohlhus
Subject: Re: strcat.m undefined problem in 5.2.0
Date: Fri, 28 Feb 2020 12:31:07 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 2/27/20 11:28 PM, Patrick Pintelon wrote:
> On 27/02/2020 02:46, Kai Torben Ohlhus wrote:
>> On 2/27/20 6:00 AM, patpin via Help list for GNU Octave wrote:
>>> Hello, I use Octave 5.2.0 in GUI.
>>> After using Octave for 2 weeks I'm suddenly confronted with errors I didn'
>>> had before with the same code.
>>> Also today I suddenly received a message not finding the 'close' in this
>>> code :   clear ; close all; clc; 
>>> error: 'strcat' undefined near line 44 column 25
>>> error: called from
>>>     handleStooq at line 44 column 24
>>>     testinvoer03 at line 69 column 1
>>>>> EXEC_PATH
>>> ans =
>>> C:\Octave\OCTAVE~1.0\mingw64\bin;C:\Octave\OCTAVE~1.0\mingw64\notepad++;C:\Octave\OCTAVE~1.0\mingw64\libexec\octave\5.2.0\site\exec\x86_64-w64-mingw32;C:\Octave\OCTAVE~1.0\mingw64\lib
>>> exec\octave\api-v53\site\exec\x86_64-w64-mingw32;C:\Octave\OCTAVE~1.0\mingw64\libexec\octave\site\exec\x86_64-w64-mingw32;C:\Octave\OCTAVE~1.0\mingw64\libexec\octave\5.2.0\exec\x86_64-w64-m
>>> ingw32;C:\Octave\OCTAVE~1.0\mingw64\bin
>>>>> strcat("ddd" ,"fff")
>>> error: 'strcat' undefined near line 1 column 1
>>>
>>> I found the strcat file strcat.m in
>>> C:\Octave\Octave-5.2.0\mingw64\share\octave\5.2.0\m\strings.
>>>
>>> Obviously the  not in the exec_path. I don't know how to put it there and if
>>> there's a chance this will fix it. Some advise please.
>>>
>> Thank you for the report.  It sounds like a weird problem of a
>> "confused" long running Octave session.  If you are not running a long
>> computation, I would try the following:
>>
>> 1. Restart Octave
>> 2. Restart my machine
>> 3. Reinstall Octave
>>
>> If the problem is still present after step 3. please report the error
>> details again.
>>
>> HTH,
>> Kai
> 
> I had accidently outcommented the word 'path' someware in the code and
> the path was each time reduced to '.'.  I had to use the
> restoredefaultpath  command and correct the code. SOLVED.
>

Glad to hear that.  Please keep the mailing list in the CC, so others
may benefit from our conversation as well and answer at the bottom of
the email (bottom-posting [1]) to facilitate our conversation.

Kai

[1] https://en.wikipedia.org/wiki/Posting_style#Bottom-posting



reply via email to

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