[Scilab-users] Question on saving with wavwrite()

Samuel Gougeon sgougeon at free.fr
Sat Jul 10 16:11:20 CEST 2021


Hello Federico,

I confirm this issue. It appeared in Scilab 6.1.0 and  occurs only when 
pwd() and the filename are on the same disk.
It comes from a change of behavior of mopen(), and so may occurs for 
many other functions using mopen().

Regards
Samuel

Le 16/06/2021 à 00:32, Federico Miyara a écrit :
> Dear all,
>
> I try to save a signal as a wave file, using wavwrite(), to the root 
> directory of the drive where I have declared the default directory. 
> Unexpectedly, the wave file is saved to the default directory. For 
> instance:
>
> My default directory:
>
> D:\work_scilab
>
> My command:
>
> wavwrite(x, Fs, "D:\test.wav")
>
> The resulting path to my file:
>
> D:\work_scilab\test.wav
>
> instead of
>
> D:\test.wav
>
> I wonder if I making some mistake.
>
> Thank you.
>
> Regards,
>
> Federico Miyara

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210710/575d865a/attachment.htm>


More information about the users mailing list