Using mobiledev to acquire sensor data with MATLAB Grader

5 次查看(过去 30 天)
I am building a new introduction to programming university class and have plans to allow students to collect data with their mobile devices. I am using mobiledev in MATLAB Desktop and that works well, but I recently discovered MATLAB Grader and would like to know if Grader can be used in conjunction with MATLAB Mobile to log sensor data. Is this possible? I have a feeling this isn't going to work, but it would be a great feature.

采纳的回答

Cris LaPierre
Cris LaPierre 2024-7-11
No, MATLAB Grader does not currently provide a way for learners to use their own data in an assignment.
  3 个评论
Michael
Michael 2024-7-15
Okay thanks. This helps a lot. I hadn't seen how the students could open the problem in Matlab Online. This helps tremendously. We'll have to build a workaround for the data capture in terms of how we collectc/assess their data.
Michael
Michael 2024-7-15
@Cris LaPierre Adding data capture to Grader would be a pretty neat feature for future releases of Matlab. It would provide a powerful way to engage with students learning to program. Data that student programs interact with is usually provided to them and makes the asssignments far less engaging. The ability to have students build programs that not only respond to sensor data, but can be assessed using the existing Matlab Grader features would be tremendous :)

请先登录,再进行评论。

更多回答(1 个)

Suraj
Suraj 2024-7-11
Hi Michael,
I've used "mobiledev" on MATLAB online and desktop before. I think the connection happens through the MathWorks account that you are signed in to. I'm not sure how such communication can be achieved on MATLAB Grader.
I tried running the following line within MATLAB Grader and got the error that you see below.
m = mobiledev;
Sign in to your MathWorks Account to acquire sensor data from your mobile device.
However, when I click the "Open Problem in MATLAB Online" button and launch the assignment in MATLAB Online, I can use "mobiledev" and retrieve sensor data. This workaround may be sufficient in some cases.
I suggest you reach out to MathWorks technical support as they can understand the requirements of your course and help you out.
  1 个评论
SANJU
SANJU 2024-9-2
While running the code mobiledevlist in MATLAB R2024a there is an error:
>> mobiledevlist
Failure to load the converter plug-in.
I have installed the " MATLAB Support Package for Android Sensors". Also tried reinstalling, but nothing works for me.
Could you help me resolve this problem.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Use Content in an LMS Course 的更多信息

标签

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by