[Tinyos-help] matlab shutdown when run net.tinyos.oscope.oscilloscope.main({'125'})

Saif A. Al-Hiddabi hiddabi at gmail.com
Wed Oct 24 20:41:12 PDT 2007


Dear All:

I tried to run in matlab (2007b) the following

net.tinyos.oscope.oscilloscope.main({'125'})

But matlab produced the following message

Oscilloscope: Using group ID 125
Note: group id should not be specified if you're using a TOSBase base
station

Then nothing happen and matlab shutdown automatically...!!!! I tried the
same command without the id 125 and the same happen...

I did all setup to get matlab works with tinyos. Why I can not get scope to
run?

I appreciate your help.
 
Regards,

SAIF

-----Original Message-----
From: Michael Schippling [mailto:schip at santafe.edu] 
Sent: Wednesday, October 24, 2007 12:26 PM
To: Saif A. Al-Hiddabi
Cc: tinyos-help at Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] Error package com.mathworks.jmi does not exist

The compile looks ok, something is using a method that someone decided
was old and should be "deprecated". But those things never go away...
except, as David Gay has pointed out, when they are really useful...

As to why it doesn't run. Sorry, never used MatLab...
MS


Saif A. Al-Hiddabi wrote:
> Thanks for the reply. I added the file to the CLASSPATH and it seems that
> the error messages have gone. This is what I get when I type make matlab
> $ make matlab
> Javac MatlabClock.java MatlabControl.java MatlabMessageListener.java
> MatlabMessenger.java:
> Note: MatlabClock.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: MatlabMessenger.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:deprecation for details.
> $
> 
> Then I tried to run in matlab
>>> net.tinyos.oscope.oscilloscope.main({'125'})
> 
> But matlab produced the following
> Oscilloscope: Using group ID 125
> Note: group id should not be specified if you're using a TOSBase base
> station
> 
> Then nothing happen and matlab shutdown automatically...!!!! I tried the
> same command without the id 125 and the same happen...
> 
> Do you think the compilation was OK and why I can not get scope to run?
> 
> I appreciate your help.
> 
> Regards,
> 
> SAIF
> 
> -----Original Message-----
> From: Michael Schippling [mailto:schip at santafe.edu] 
> Sent: Tuesday, October 23, 2007 9:17 PM
> To: Saif A. Al-Hiddabi
> Cc: tinyos-help at Millennium.Berkeley.EDU
> Subject: Re: [Tinyos-help] Error package com.mathworks.jmi does not exist
> 
> Well, does "com.mathworks.jmi" exist in a class tree or jar file
> that you are including in your CLASSPATH? It sounds like something
> that MatLab supplies, so I'd go looking in their install first...
> 
> MS
> 
> 
> Saif A. Al-Hiddabi wrote:
>> Hi All:
>>
>>  
>>
>> I am trying to set TinyOS to work with Matlab R2007b, but I am getting 
>> 12 errors when I run $make matlab
>>
>> These errors are as follows
>>
>> MatlabClock.java:42: package com.mathworks.jmi does not exist
>>
>> Import com.mathworks.jmi.*;
>>
>> ^
>>
>> MatlabClock.java:48: cannot find symbole
>>
>> Symbole : class Matlab
>>
>> ...
>>
>> ...
>>
>> .
>>
>>  
>>
>> I appreciate any help or clear instruction on how to get TinyOS to work 
>> with Matlab R2007b.
>>
>>  
>>
>> Kindest regards,
>>
>>  
>>
>> SAIF
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at Millennium.Berkeley.EDU
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



More information about the Tinyos-help mailing list