Git Product home page Git Product logo

Comments (5)

shwina avatar shwina commented on May 28, 2024 1

While this is indeed an extremely neat feature of MATLAB, I think this is far out of the scope of this lesson. The audience for most SWC workshops have no real prior experience in programming, let alone in a low-level language such as C.

from matlab-novice-inflammation.

sihaeri avatar sihaeri commented on May 28, 2024

Hi shwina,

I agree that his is perhaps a more advanced feature of Matlab, but to my experience particularly for postgraduate students that need to process large data-sets this can be extremely beneficial. The c part of the code here is a bit complex it can be as simple as passing an argument and printing that to screen. The idea here is to make them aware of the this possibility and show them the mechanics of doing this, so that if they needed they can learn on their own.

from matlab-novice-inflammation.

shwina avatar shwina commented on May 28, 2024

@sihaeri

I do agree that if you are teaching an audience that (1) will have an immediate need for writing or modifying MEX-files, and (2) has prior experience with programming in C, it may be worth introducing the idea. For such a workshop, I would suggest making a copy of the lesson materials and adding the relevant contents.

I don't believe that this will fit in with the core lesson though, which is intended really to teach general programming concepts, and not to introduce features very specific to MATLAB.

from matlab-novice-inflammation.

rgaiacs avatar rgaiacs commented on May 28, 2024

While this is indeed an extremely neat feature of MATLAB, I think this is far out of the scope of this lesson.

I second this. In all my years working with MATLAB users, I hardly encounter anyone using MEX probably because they didn't have performance issues that make cost efficient to migrate their code to C/C++ and use MEX. Some friends used CUTEst: a Constrained and Unconstrained Testing Environment with safe threads for mathematical optimization and its MEX integration but had to handle the extra complexity of having a C/C++ compiler on their Windows machine.

Said that, I think that worth mention MEX at the end of the workshop for things that people could look. As a novice, you don't know the words you need to search for. But you should not teach MEX at a novice Software Carpentry workshop. Python and R lessons don't teach their C/C++ integration. If you think your audience need to know MEX, it is the case to organise a workshop only to cover MEX.

from matlab-novice-inflammation.

gcapes avatar gcapes commented on May 28, 2024

Thanks for your suggestion, but this is firmly out of scope for this lesson.

from matlab-novice-inflammation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.