Skip to content

Commit 152990c

Browse files
committed
Update README.md
1 parent fca2066 commit 152990c

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SimDatabase
2-
A MySQL extension for Simulink.
2+
A MySQL extension for Simulink.
33

44
## extlib - External Library
55
Dynamic Link Library. I wrote this to test the capabilities of this method.
@@ -11,7 +11,7 @@ More elegant and useable soultion with proper error handling. **Use this!**
1111

1212
![online](imgs/online.png)
1313

14-
The Online database block uses a MySQL server to generate the desired output data, this is achieved by a custom dynamic link library (dll) file. This library was written in C using the **MySQL Connector C API version 6.1.11**.
14+
The Online database block uses a MySQL server to generate the desired output data, this is achieved by a custom CMEX S-Function written in C using the **MySQL Connector C API version 6.1.11**.
1515

1616
The block can interpret a predefined format of SQL entry:
1717

@@ -26,8 +26,6 @@ The precision required for the simulation is, currently, achieved by linear inte
2626

2727
The connection and the query take a long time compared to the other operations. To solve this problem the block saves the results in a unique file and only uses the database when this file does not exist, otherwise reads the data from the file, which takes significantly less time.
2828

29-
Example: https://www.youtube.com/watch?v=yDe3t1PS36U
30-
3129
## Offline mode
3230

3331
![offline](imgs/offline.png)
@@ -57,12 +55,5 @@ Setup ```mex``` with the ```mex -setup``` command in MATLAB.
5755
- extlib : Copy ```simdatabase.dll``` and ```resolve_pointer.m``` to the **Working Directory** and follow the example ```.SLX``` files.
5856

5957
## Notes
60-
- The ```simdatabase_step_x()``` functions have **10** outputs.
6158
- Compiled with MS Visual Studio 2017 Community.
6259
- Tested on Windows 10 x64.
63-
- Can be ported to Linux (```mex()``` will be different).
64-
65-
## TODO
66-
67-
## License
68-
Use, modify as you wish, just mention me in your README ;)

0 commit comments

Comments
 (0)