Comments (5)
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.
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.
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.
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.
Thanks for your suggestion, but this is firmly out of scope for this lesson.
from matlab-novice-inflammation.
Related Issues (20)
- Add else statements to True and False Execise HOT 2
- topic for the repository HOT 1
- Missing closing brackets in lesson 3 HOT 1
- Ep5: Use a properly named script in place of temp.m
- Ep3: Title command is duplicated for maximum inflammation plot
- csvread HOT 1
- points re some of the materials in subsection "1. Working With Variables" HOT 3
- Lesson Contribution - Matrix Math
- Ep. 3 Match code block output to input HOT 1
- Zip file contains just a `data` directory. No containing folder
- Ep 06 Incorrect help text
- No need to create `results` directory
- Ep3: Improve Dataset image HOT 1
- No jumplinks for section headings
- Replace wording example about sharks (negative association word) HOT 3
- MATLAB interactive *.mlx notebook wanted? HOT 1
- Failed workflow run HOT 1
- Scheduling early transition to Workbench HOT 10
- Links need to be fixed in CONTRIBUTING.md
- Inaccurate maintainers list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlab-novice-inflammation.