]>
rtime.felk.cvut.cz Git - mf624-simulink.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
krecmich [Wed, 4 Dec 2013 12:17:18 +0000 (13:17 +0100)]
This commit just resolves issue with SIMULINK autosave.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
krecmich [Wed, 30 Oct 2013 13:32:09 +0000 (14:32 +0100)]
Updated HW-in-the-loop model with new parameters.
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
Michal Sojka [Wed, 11 Sep 2013 13:01:44 +0000 (15:01 +0200)]
Remove garbage
krecmich [Wed, 11 Sep 2013 09:05:55 +0000 (11:05 +0200)]
Updated HW-in-the-loop gitignore
Signed-off-by: krecmich <krecmich@emotor.felk.cvut.cz>
Michal Sojka [Tue, 23 Jul 2013 18:50:53 +0000 (20:50 +0200)]
Setup the model to for external simulation
The generated executable segfaults when started with -w (wait for connection).
It segfaults in external mode handling. Probably, I have some race condition in
the ERT target.
Michal Sojka [Tue, 23 Jul 2013 18:07:08 +0000 (20:07 +0200)]
Whitespace
Michal Sojka [Tue, 23 Jul 2013 18:06:49 +0000 (20:06 +0200)]
Improve cleanup on termination (unmaps mappings and closes fd)
Michal Sojka [Tue, 23 Jul 2013 17:42:28 +0000 (19:42 +0200)]
Do not export unneeded functions + fix warning about implicit declaration of malloc()
Michal Sojka [Tue, 23 Jul 2013 15:38:48 +0000 (17:38 +0200)]
Improve error/warning message
Michal Sojka [Tue, 23 Jul 2013 15:38:22 +0000 (17:38 +0200)]
Configure for external mode
Michal Sojka [Tue, 23 Jul 2013 15:29:12 +0000 (17:29 +0200)]
Update the model configuration to work with the updated ert_linux target
Michal Sojka [Tue, 23 Jul 2013 15:23:56 +0000 (17:23 +0200)]
mdlTerminate() is also called during code generation => do not report errors here
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>