How to use an Matlab-coded experiment for online data collection.
Show older comments
Hi,
I currently have an experiment that has been coded in Matlab. I'm hoping to be able to deploy the experiment online, so that I can just send people a link to the experiment. What's the best way to do this?
I'm not sure if this is right, but so far I've found that I would have to 'compile it and make the executable available' using the MATLAB Coder.
Thanks in advance!
5 Comments
Walter Roberson
on 18 Mar 2020
Do you want people to be able to download the executable and run it themselves, not interacting with others?
Do you want people to be able to download the executable and run it themselves, but it should communicate with some kind of central system that does things like gathering statistics or sharing datasets but the calculations are done on the user systems?
Do you want people to be able to download an executable that acts as a user interface and pulls files from the user or interacts with user hardware to send data to a central system that does the calculations?
Do you want to provide a web page interface the user can use to upload / download files to a central system that does the work, with the user just using a browser and not downloading an executable (and therefore would not need to be running the same operating system as the executable was built for)?
Do you want to provide an app for iOS or Android that does user interface and data collection and sends it to a central system for processing?
Is this something where the user would be streaming data over an extended period (Fitbit for example) rather than dealing with files or data that was pre-recorded or fairly short data collection times?
What hardware does this assume that the user has?
Joshua Kugel
on 18 Mar 2020
Walter Roberson
on 18 Mar 2020
What is being recorded, the position or the time? If I understand correctly, it is not difficult to get relatively accurate position information of clicks just using JavaScript, but accurate times could be tough.
Joshua Kugel
on 18 Mar 2020
Walter Roberson
on 23 Mar 2020
However,
"Web apps are designed to run only within a trusted intranet environment, not in the open Internet. For more information, see Potential Risks."
I have not used App Designer myself, so I am not up to speed about whether it can track cursor or clicks.
Answers (0)
Categories
Find more on MATLAB Mobile in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!