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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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