Project

General

Profile

Error in waijung_readxml

Added by Ben Acs about 5 years ago

Hello! I've been using the waijung blockset on my Windows 7 computer, but now I've upgraded to Windows 10.
I cannot install the blockset, according to the following error:

Undefined function or variable 'XMLConfiguration'.

Error in waijung_readxml

Error in install_nrf51_target (line 13)
targetrootinfile = waijung_readxml(xmldat, '/target/path/root');

Error in install_waijung (line 79)
eval(['install_' target '_target']);

Can anybody help me with it?
Thanks


Replies (11)

RE: Error in waijung_readxml - Added by Krisada Sangpetchsong (เอม) almost 5 years ago

Which version of Matlab are you using?

RE: Error in waijung_readxml - Added by Krisada Sangpetchsong (เอม) almost 5 years ago

Could you please also show screen capture of the error?

RE: Error in waijung_readxml - Added by Ben Acs almost 5 years ago

Sorry for the late answer, I've put aside the project.
I use 2015b.
I start the install_waijung script in the C:\waijung_install\ folder, but its skips to the nrf51 folder. I've tried removing the nrf51 from the target list, because I only use the stm32f4, but the problem occurs there as well.
!!

RE: Error in waijung_readxml - Added by Krisada Sangpetchsong (เอม) almost 5 years ago

I am not yet sure what happened.

It may help if you can share the whole installation messages from Matlab command windows from the beginning.

RE: Error in waijung_readxml - Added by Krisada Sangpetchsong (เอม) almost 5 years ago

Waijung depends on Apache Commons (XMLConfiguration) which depends on Java Runtime Environment (JRE).

Please check if your system has JRE, if not, try installing and let us know if the problem is solved.

RE: Error in waijung_readxml - Added by Aliasgar S about 3 years ago

I am having a similar issue in installing the blockset. I have tried the above-mentioned JRE installation. It still doesn't work.

RE: Error in waijung_readxml - Added by Krisada Sangpetchsong (เอม) about 3 years ago

Which version of Matlab are you using?

RE: Error in waijung_readxml - Added by Aliasgar S about 3 years ago

MATLAB 2014a

RE: Error in waijung_readxml - Added by Chandima Jayaneththi (จันทิมา) about 3 years ago

Hello Aliasgar,

Could you please try with Matlab 2018a.

RE: Error in waijung_readxml - Added by Aliasgar S about 3 years ago

Hello Chandima,
I could definitely try that but in our laboratory we use Matlab 2014a for uniformity and inter-usability between different members of our team. So it would be necessary to make it work on Matlab 2014a.

    (1-11/11)