Re: Sci_cosim Issue

Markus Mützel <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-83a4cb56-80e0-4d0f-bd58-ba3e99e5acf2-1624184174150@3c-app-gmx-bap19>
Am 19. Juni 2021 um 22:28 Uhr schrieb "Prof. Gregory Almeida":
> Hi i was trying to run the example file sci_sim_example, as indicated here[https://wiki.octave.org/Sci_cosim]. However, it is not working at all, it returns the following message: 
> 
> >> sci_sim_example
> error: 'argn' undefined near line 19, column 19
> error: called from
>     sci_setvar at line 19 column 9
>     sci_sim_example at line 20 column 3
> 
>
> Appreciate any help or guidance. 

IIUC, automatic variables (including `argn`) were removed from Octave. See also e.g. here: https://savannah.gnu.org/bugs/index.php?59401

It doesn't look like that package has had any updates recently. But it might still be worth reporting this to the author here: https://github.com/amromanov/sci_cosim/issues

In the meantime, you could try replacing `argn` by `__varval__ (".argn.")` in your local installation of that package like Rik suggested in the above bug report.

HTH,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.