From: <fa...@my...> - 2007-08-18 00:21:08
|
Flavius, >Error in ==> trim at 52 >supportMsg = linmodsupported(fcn); this error is not from my trim function (which does not even have 52 lines) you need to make sure that the path to my "trim.m" function is before the simulink path in Matlab's search path. if you type "which trim" in matlab it will tell you which version it is currently using. another possible solution si to rename trim.m to, e.g., mytrim.m and replace it in loadlrnfast at line 75 and anywhere else in the toolbox where it is used. fabian Flavius da Luz Gorgonio wrote: > Hi Fabian and Yok, > > I actualized my toolbox with missing files which you send, but the > troubles remains (see below). What can I try now? > > Yok, do you succeeded in completing your work? > > Thanks > > Flavius Gorgônio > > > >>> esom_demo >>> > ??? Error using ==> load_system > There is no system named '4.408357E-001 -7.280088E-002 -2.103747E+000 > ' to open. > > Error in ==> simulink\private\fixpt_blks_in_mdl at 38 > load_system(model); > > Error in ==> simulink\private\linmodsupported at 16 > if fixpt_blks_in_mdl(model,followLinks) > > Error in ==> trim at 52 > supportMsg = linmodsupported(fcn); > > Error in ==> loadlrnfast at 75 > while ((length(trim(line))<10) || strcmp(trim(line),'0.0000000e+000') || > strcmp(trim(line),'0000000e+000')) > > Error in ==> loadlrn at 56 > [data,names,defined] = loadlrnfast(filename); > > Error in ==> esom_train at 144 > data = loadlrn([prefix, '.lrn']); > > Error in ==> esom_demo at 61 > [wts, bm, umx] = esom_train(NOData, prefix, epochs, rows, columns, grid, > radius, learn, algorithm); > > > > > >> Hi, >> >> even if it doesn't look like it this is also an error due to a missing >> file. >> our "trim" function is missing and instead one of the same name in >> simulink is found and used. >> >> I included all missing files that I know about in a *.zip file that is >> linked on >> http://databionic-esom.sourceforge.net/install.html >> please keep complaining until it works. >> >> When I developed the toolbox I must have had all this code in my >> matlab search p[ath without thinking about it. you guys seem to be >> the first people using the matlab interface (at least the first that ever >> complained). >> >> fabian >> >> Yok Yen wrote: >> >>> I still not able to get esom_demo.m running... >>> The follow error occurs.. >>> >>> ??? Error using ==> load_system >>> There is no system named '4.408357E-001 -7.280088E-002 >>> -2.103747E+000 >>> ' to open. >>> >>> Error in ==> simulink\private\fixpt_blks_in_mdl at 38 >>> load_system(model); >>> >>> Error in ==> simulink\private\linmodsupported at 16 >>> if fixpt_blks_in_mdl(model,followLinks) >>> >>> Error in ==> trim at 52 >>> supportMsg = linmodsupported(fcn); >>> >>> Error in ==> loadlrnfast at 76 >>> while ((length(trim(line))<10) || strcmp(trim(line),'0.0000000e+000') >>> || strcmp(trim(line),'0000000e+000')) >>> >>> Error in ==> loadlrn at 56 >>> [data,names,defined] = loadlrnfast(filename); >>> >>> Error in ==> esom_train at 144 >>> data = loadlrn([prefix, '.lrn']); >>> >>> Error in ==> esom_demo at 61 >>> [wts, bm, umx] = esom_train(NOData, prefix, epochs, rows, columns, >>> grid, radius, learn, algorithm); >>> >>> regards, >>> yok yen >>> On 8/16/07, *Fabian Mörchen* <fa...@my... >>> <mailto:fa...@my...>> wrote: >>> >>> Yok Yen wrote: >>> > Hi Fabian, >>> > >>> > Thanks for your support. >>> > I still getting an error while trying to run the esom_demo.m >>> > >>> > ??? Undefined command/function 'isnumber'. >>> > >>> > Error in ==> loadlrnfast at 69 >>> > if ~isnumber(t) >>> > >>> > Error in ==> loadlrn at 56 >>> > [data,names,defined] = loadlrnfast(filename); >>> > >>> > Error in ==> esom_train at 144 >>> > data = loadlrn([prefix, '.lrn']); >>> > >>> > Error in ==> esom_demo at 61 >>> > [wts, bm, umx] = esom_train(NOData, prefix, epochs, rows, columns, >>> > grid, radius, learn, algorithm); >>> > >>> > regards, >>> > yok yen >>> > >>> > On 8/16/07, *Fabian Mörchen * <fa...@my... >>> <mailto:fa...@my...> >>> > <mailto:fa...@my... <mailto:fa...@my...>>> wrote: >>> > >>> > Yok, >>> > >>> > there seem to be some general functions missing. they are >>> > attached. I hope to get to create an updated version with >>> everything >>> > some time. >>> > >>> > fabian >>> > >>> > Yok Yen wrote: >>> > > >>> > > Hi, >>> > > >>> > > I am trying to integrate ESOM with my matlab problem. >>> > > However, it is not successful. >>> > > Hope to seek your help in this. >>> > > Thanks in advance. >>> > > >>> > > The errors that shows up when I try to run esom_demo.m are >>> as >>> > follows: >>> > > 1) >>> > > >> esom_demo >>> > > ??? Undefined command/function 'tail'. >>> > > >>> > > Error in ==> addfileext at 29 >>> > > if ~strcmp(tail(filename,length(ext)),ext) >>> > > >>> > > Error in ==> savecls at 32 >>> > > filename = addfileext(filename,'.cls'); >>> > > >>> > > Error in ==> esom_demo at 54 >>> > > savecls('demo.cls', key, cls); >>> > > >>> > > 2) >>> > > ??? Undefined command/function 'head'. >>> > > >>> > > Error in ==> loadlrnfast at 60 >>> > > tokens = strread(deblank(head(line,-1)),'%s\t'); >>> > > >>> > > Error in ==> loadlrn at 56 >>> > > [data,names,defined] = loadlrnfast(filename); >>> > > >>> > > Error in ==> esom_train at 144 >>> > > data = loadlrn([prefix, '.lrn']); >>> > > >>> > > Error in ==> esom_demo at 61 >>> > > [wts, bm, umx] = esom_train(NOData, prefix, epochs, rows, >>> columns, >>> > > grid, radius, learn, algorithm); >>> > > >>> > > regards, >>> > > yok yen >>> > > >>> > >>> ------------------------------------------------------------------------ >>> > > >>> > > >>> > >>> ------------------------------------------------------------------------- >>> > > This SF.net email is sponsored by: Splunk Inc. >>> > > Still grepping through log files to find problems? Stop. >>> > > Now Search log events and configuration files using AJAX and >>> a >>> > browser. >>> > > Download your FREE copy of Splunk now >> >>> http://get.splunk.com/ <http://get.splunk.com/> >>> > > >>> > >>> ------------------------------------------------------------------------ >>> > > >>> > > _______________________________________________ >>> > > Databionic-ESOM-User mailing list >>> > > Dat...@li... >>> <mailto:Dat...@li...> >>> > <mailto:Dat...@li... >>> <mailto:Dat...@li...>> >>> > > >>> > >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >>> > < >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user> >>> > > >>> > >>> > >>> > >>> ------------------------------------------------------------------------- >>> > This SF.net email is sponsored by: Splunk Inc. >>> > Still grepping through log files to find problems? Stop. >>> > Now Search log events and configuration files using AJAX and a >>> > browser. >>> > Download your FREE copy of Splunk now >> >>> http://get.splunk.com/ >>> > _______________________________________________ >>> > Databionic-ESOM-User mailing list >>> > Dat...@li... >>> <mailto:Dat...@li...> >>> > <mailto:Dat...@li... >>> <mailto:Dat...@li...>> >>> > >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------ >>> > >>> > >>> ------------------------------------------------------------------------- >>> >>> > This SF.net email is sponsored by: Splunk Inc. >>> > Still grepping through log files to find problems? Stop. >>> > Now Search log events and configuration files using AJAX and a >>> browser. >>> > Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> > >>> ------------------------------------------------------------------------ >>> > >>> > _______________________________________________ >>> > Databionic-ESOM-User mailing list >>> > Dat...@li... >>> <mailto:Dat...@li...> >>> > >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >>> <https://lists.sourceforge.net/lists/listinfo/databionic-esom-user> >>> > >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a >>> browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Databionic-ESOM-User mailing list >>> Dat...@li... >>> <mailto:Dat...@li...> >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Databionic-ESOM-User mailing list >>> Dat...@li... >>> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Databionic-ESOM-User mailing list >> Dat...@li... >> https://lists.sourceforge.net/lists/listinfo/databionic-esom-user >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Databionic-ESOM-User mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/databionic-esom-user > |