Matlab code executable in Moodle
4 views (last 30 days)
Show older comments
is there a way to integrate matlab code into moodle so that students only see the output and not the code behind it? Matlab does not have to be installed
1 Comment
Cris LaPierre
on 20 Mar 2024
Edited: Cris LaPierre
on 20 Mar 2024
What sort of outputs are generated? What are your learners doing with these outputs?
Answers (1)
Kathi Kugler
on 20 Mar 2024
Hi Tobias
Could you explain in more detail what you have in mind? If I understand you correctly, you would like to make the code you have written available to students and I assume you would like it to be executable (instead of "just the static result"), is that correct? Or were you thinking more of a kind of PDF of the result, and with the code not visible?
You don't want the students to see the code itself, but the result of the operations you perform with your code.
Were you thinking of some kind of Web App embedded in Moodle? Or did you have something in mind that is more like a MATLAB Live Script in the "Hide Code" option?
2 Comments
Kathi Kugler
on 20 Mar 2024
Edited: Kathi Kugler
on 20 Mar 2024
If your goal is that your students do not have to install MATLAB on their machine, but instead interact with your artifact only in Moodle, there are different options that might be more or less suitable - depending on your exact goal.
For instance you could use MATLAB Web Apps (you can imagine them as MATLAB Apps that run in a browser) from within Moodle by embedding them using an iframe HTML Element. To do so, you would need to have a Web App Server set up. I assume your IT Department would be able to help you with this.
Another option is to leverage MATLAB Grader which can be integrated into LMS systems (including Moodle)with the help of your LMS administrator. Normally you would use MATLAB Grader to automatically grade code from your students' programming assignments. However, I believe you could also use it for your intended workflow.
See Also
Categories
Find more on MATLAB Web App Server in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!