Menu

question/problem?

Help
Anonymous
2002-05-13
2002-06-05
  • Anonymous

    Anonymous - 2002-05-13

    Hi;

    I am trying to use Sugar 3.0 - and would like to use it in a class I teach.  I have been using version 2, but the syntax in version looks
    easier for the students to understand.  However I am having a problem getting it to run.  I am using Win98 and have installed that version for Sourceforge.  When I try to run the example in the manual (after generating the file) I get:

    >> net = cho_load('d:\Sugar\sugar30\test\cantilever.net')

    error: Could not open file
    ??? Error while interpreting net file

    Error in ==> d:\Sugar\sugar30\src\matlab\sugarmex.dll
    Error in ==> d:\Sugar\sugar30\src\matlab\cho_load.m
    On line 3  ==>   handle = sugarmex('use', file);

    I've added paths to all the appropriate directories.

    Any suggestions?

    Thanks,
    Dr. Milt Scholl
    Dept. of Electrical and Computer Engineering
    OGI School of Science & Engineering, OHSU

     
    • David Bindel

      David Bindel - 2002-06-05

      There is currently a separate path in SUGAR 3.0 for searching for netlist files.  To add to the netlist path, use the cho_addpath command; for example, the main netlist support files are in the src/lua subdirectory, so you would usually want to type:

        cho_addpath('c:/sugar30/src/lua/')

      to be able to access those files.

      This has confused more than one person.  We will probably change the search routine to look for netlist files in the Matlab path, like SUGAR 2.0 did.

      David

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.