Matlab code executable in Moodle

4 views (last 30 days)
Tobias
Tobias on 19 Mar 2024
Edited: Cris LaPierre on 20 Mar 2024
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
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?

Sign in to comment.

Answers (1)

Kathi Kugler
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
Tobias
Tobias on 20 Mar 2024
exactly. i would like the matlab code to remain hidden and the programming to be stored as an .exe or similar in moodle. And the whole thing so that the students simply click on a tile and see the output without seeing the code itself. it should open in the browser and matlab shouldnt be installed
Kathi Kugler
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.

Sign in to comment.

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!