Advertisement

Matlab Adapter – Online Access to Matlab/Simulink Based on REST Web Services

  • Miroslav GulaEmail author
  • Katarína Žáková
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 348)

Abstract

The paper presents a newly developed Matlab Adapter tool that enables to build Matlab/Simulink based online applications. It was built in the form of web service that is available via REST API. In this way the client application can be developed in any programming language. The server side of application was built in Java programming language. We developed several REST endpoints that enable to set parameters, to run simulations or experiments and to follow results.

Keywords

online experiments Matlab JMatLink MatlabControl Java REST 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Auer, M., Pester, A., Ursutiu, D., Samoila, C.: Distributed virtual and remote labs in engineering. In: IEEE International Conference on Industrial Technology, vol. 2, pp. 1208–1213 (December 2003)Google Scholar
  2. 2.
    Costa, R.J., Alves, G.R., Zenha-Rela, M.: Embedding instruments & modules into an IEEE1451-FPGA-Based weblab infrastructure. International Journal of Online Engineering (3) (2012)Google Scholar
  3. 3.
    Ozvoldova, M., Spilakova, P., Tkac, L.: Archimedes’ principle - Internet accessible remote experiment. International Journal of Online Engineering 10(5), 36–42 (2014)CrossRefGoogle Scholar
  4. 4.
    Huba, M., Šimunek, M.: Modular Approach to Teaching PID Control. IEEE Transactions on Industrial Electronics 54(6), 3112–3120 (2007) ISSN 0278-0046CrossRefGoogle Scholar
  5. 5.
    Leva, A., Donida, F.: Multifunctional remote laboratory for education in automatic control: The CrAutoLab experience. IEEE Transactions on Industrial Electronics 55(6) (June 2008)Google Scholar
  6. 6.
    Lojka, T., Miškuf, M., Zolotová, I.: Service oriented architecture for remote machine control in ICS. In: Proceedings of SAMI 2014 - IEEE 12th International Symposium on Applied Machine Intelligence and Informatics, pp. 327–330 (2014)Google Scholar
  7. 7.
    Restivo, M.T., Mendes, J., Lopes, A.M., Silva, C.M., Chouzal, F.: A Remote Lab in Engineering Measurement. IEEE Trans. on Industrial Electronics 56(12), 4436–4843 (2009)CrossRefGoogle Scholar
  8. 8.
    Žáková, K., Sedlák, M.: Remote Control of Experiments via Matlab. Int. Journal of Online Engineering (IJOE) 2(3) (2006)Google Scholar
  9. 9.
    Žáková, K.: WEB-Based Control Education in Matlab. In: Web-Based Control and Robotics Education, pp. 83–102. Springer, Dordrecht (2009) ISBN 978-90-481-2504-3Google Scholar
  10. 10.
    Bisták, P.: Virtual and Remote Laboratories Based on Matlab, Java and EJS. In: Fikar, M., Kvasnica, M. (eds.) Proceedings of the 17th International Conference on Process Control 2009, Štrbské Pleso, Slovakia, pp. 506–511 (2009)Google Scholar
  11. 11.
    Puerto, R., Jimenez, L.M., Reinoso, O.: Remote Control Laboratory Via Internet Using Matlab and Simulink. Computer Applications in Engineering Education 18(4), 694–702, doi:10.1002/cae.20274Google Scholar
  12. 12.
    Müller, S., Waller, H.: Efficient integration of real-time hardware and web based services into MATLAB. In: 11th European Simulation Symposium (1999)Google Scholar
  13. 13.
    Ionete, C.: LQG/LTR Controller Design for Rotary Inverted Pendulum Quanser Real-Time Experiment. In: Proceedings of the International Symposium on System Theory (SINTES 2011). Craiova, Romania, vol. 1, pp. 55–60 (2003)Google Scholar
  14. 14.
    Enikov, E.T., Polyzoev, V., Gill, J.: Low-cost take-home experiment on classical control using Matlab/Simulink Real-Time Windows Target. In: Proceedings of the 2010 American Society for Engineering Education Zone IV Conference, pp. 322–330 (2010)Google Scholar
  15. 15.
    Bolat, E.D.: Implementation of Matlab-SIMULINK Based Real Time Temperature Control for Set Point Changes. International Journal of Circuits, Systems and Signal Processing 1(1), 54–61 (2007)MathSciNetGoogle Scholar
  16. 16.
    Müller, S.: JmatLink, http://jmatlink.sourceforge.net/
  17. 17.
    Kaplan, J.: MatlabControl, http://code.google.com/p/matlabcontrol/
  18. 18.
    The MathWorks, Inc.: Overview of Java Interface, http://www.mathworks.com/help/matlab/matlab_external/product-overview.html
  19. 19.
    The MathWorks, Inc.: MATLAB Builder JA for Java language - Deploy MATLAB code as Java classes, http://www.mathworks.com/products/javabuilder/
  20. 20.
    Oracle America, Inc.: Jersey - RESTful Web Services in Java, https://jersey.java.net/
  21. 21.
    Java Community Process.: JSR-311: JAX-RS: The Java API for RESTful Web Services, http://jcp.org/en/jsr/detail?id=311
  22. 22.
  23. 23.
  24. 24.
    Oracle America, Inc.: Java Native Interface, http://docs.oracle.com/javase/8/docs/technotes/guides/jni/
  25. 25.
    The MathWorks, Inc.: Access Block Data During Simulation - Listen for Method Execution Events, http://www.mathworks.com/help/simulink/ug/accessing-block-data-during-simulation.html#f13-92463

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.Faculty of Electrical Engineering and Information TechnologySlovak University of TechnologyBratislavaSlovakia

Personalised recommendations