]>
rtime.felk.cvut.cz Git - mf624-simulink.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michal Sojka [Tue, 23 Jul 2013 14:13:21 +0000 (16:13 +0200)]
Do not fail if mdlStart() cannot open /dev/uio0
Such failing is inconvenient because mdlStart() is called even during
code generation [1]. If one tries to generate the code on a computer
without MF624 hardware, it fails.
This is solved that we ignore error in mdlStart(). When initialization
fails, we simply return from mdlStart() without reporing an error to the
user. The status of initialization is checked in every call to mdlOutputs()
and there the failres are already reported to the user.
[1] http://www.mathworks.com/matlabcentral/newsreader/view_thread/32986
Michal Sojka [Tue, 23 Jul 2013 13:43:18 +0000 (15:43 +0200)]
Generate more meaningful error messages
Michal Sojka [Tue, 23 Jul 2013 13:34:39 +0000 (15:34 +0200)]
Remove code duplication
Michal Sojka [Tue, 23 Jul 2013 13:26:34 +0000 (15:26 +0200)]
Simplify device opening
Michal Sojka [Tue, 23 Jul 2013 12:39:59 +0000 (14:39 +0200)]
Don't use -ansi mode for MEX compilations
Michal Sojka [Tue, 23 Jul 2013 12:38:02 +0000 (14:38 +0200)]
Add mexopts.sh
Michal Sojka [Thu, 11 Jul 2013 11:26:30 +0000 (13:26 +0200)]
Add mex makefile
krecmich [Thu, 11 Jul 2013 09:36:59 +0000 (11:36 +0200)]
Final version of the model.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Wed, 10 Jul 2013 13:01:39 +0000 (15:01 +0200)]
Removal of some testing models that were never meant
to be in the repository in the first place.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Wed, 10 Jul 2013 12:54:04 +0000 (14:54 +0200)]
Final HW-in-the-loop model added.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Wed, 10 Jul 2013 12:53:09 +0000 (14:53 +0200)]
Changed gate mode from low to high.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Thu, 4 Jul 2013 13:33:45 +0000 (15:33 +0200)]
Updated test model with new filename of mf624_SIMULINK.c.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Thu, 4 Jul 2013 13:33:11 +0000 (15:33 +0200)]
Removed unused parameter from sfReadPWM.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 1 Jul 2013 13:46:38 +0000 (15:46 +0200)]
Corrected some minor errors in sfDigitalOutputs.c.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 1 Jul 2013 12:48:56 +0000 (14:48 +0200)]
Minor test model updates.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 1 Jul 2013 12:48:43 +0000 (14:48 +0200)]
Created s-functions for DigitalOutputs and for reading PWM via counters.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 1 Jul 2013 12:48:01 +0000 (14:48 +0200)]
Modified MF624 related s-functions to use single mf624_state structure
declared in mf624_SIMULINK.c.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 1 Jul 2013 12:46:42 +0000 (14:46 +0200)]
Moved some defines from mf624_SIMULINK.c to dttomf624_SIMULINK.h
to make them better accesible from s-functions.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Fri, 28 Jun 2013 12:08:25 +0000 (14:08 +0200)]
Added gitignore for *.mexa64 and *.mat files.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Fri, 28 Jun 2013 12:05:59 +0000 (14:05 +0200)]
Blocks needed for control of mf624 I/O card via SIMULINK.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Mon, 10 Jun 2013 10:21:12 +0000 (12:21 +0200)]
First version of s-functions needed for opertaing mf624.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>