ML06 (english) - Simulink S-Function Builder basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

ความคิดเห็น • 37

  • @mineigm8727
    @mineigm8727 2 ปีที่แล้ว

    Thank you for your this video. I could understand the way to use S-Function Builder easily.

  • @qvis34
    @qvis34 3 ปีที่แล้ว

    how can I do this in 2021a version? I can't find like 1:15

  • @bharathsk2007
    @bharathsk2007 4 ปีที่แล้ว

    Do I need to generate code for s functions or directly right click on model and select c/c++ s function generation

  • @teorienet
    @teorienet 7 ปีที่แล้ว

    thank you so much !! your lesson has been simple, clear and very useful !!

  • @nathanaeljacob
    @nathanaeljacob 8 ปีที่แล้ว +2

    Thanks for the short and concise tutorial

    • @BitmarkerDe
      @BitmarkerDe  8 ปีที่แล้ว

      Thank you for the kind words!

  • @joseespinosa6595
    @joseespinosa6595 5 ปีที่แล้ว

    In the S Function Builder window when you click "build" you get the MEX file "s_func_calc_power.mex64". Saying that, if you already have this MEX file (generated by the S Function builder) why do you need to run the command mex?

  • @ahmedsaidismail
    @ahmedsaidismail 7 ปีที่แล้ว

    Thanks a lot. This Video is really helpful. Keep the spirit up.

  • @muhammadahsanzamee4385
    @muhammadahsanzamee4385 6 ปีที่แล้ว

    Amazing! Please do carry on the good works!

  • @moodysaleh1721
    @moodysaleh1721 7 ปีที่แล้ว +2

    Thank you, straight to the point and brief.
    One question tho, what is the importance/application of the S-Function? Because the example you demonstrated can be done using matlab function or blocks
    Thanks again

  • @adnan11583
    @adnan11583 9 ปีที่แล้ว +1

    Hello dear, i have problem in diagnosing the s-function builder and it generate following error if i try to simulate the same program as you did in the video.
    C:\PROGRA~1\MATLAB\R2012B\BIN\MEX.PL: Error: No compiler options file could be found
    to compile source code. Please run "mex -setup" to rectify.

  • @MohammadAli-wi6yz
    @MohammadAli-wi6yz 4 ปีที่แล้ว

    Hello , very concise and useful ,thanks a lot

  • @vandaliztik9266
    @vandaliztik9266 5 ปีที่แล้ว

    is that possible to extract this voltage and current to workspace during simulation

    • @joseespinosa6595
      @joseespinosa6595 5 ปีที่แล้ว

      Yes, with the Simulink block "To Workspace"

  • @Fabian14d
    @Fabian14d 8 ปีที่แล้ว

    2 error's
    TLC Compiler encountered an OUT_OF_MEMORY condition. Attempting to clean up...
    and Fatal error in slbuild...
    As I can fix that, or what it means?

    • @BitmarkerDe
      @BitmarkerDe  8 ปีที่แล้ว

      +fabio cisneros Sorry, fabio, but I can't help you on that, I never had this error before.

  • @henrytandohjnr1573
    @henrytandohjnr1573 8 ปีที่แล้ว

    Please what does it mean to have an error message which say 'undeclared identifier' and 'variable have struct/union type'?

    • @BitmarkerDe
      @BitmarkerDe  8 ปีที่แล้ว

      Can you show me the whole log output? Using pastebin.com/ for example. Otherwise it's hard to find out what the error message is meant to be.

  • @speed2010adel
    @speed2010adel 8 ปีที่แล้ว

    I have an issue with compiler MinGW, can i add to matlab offline

  • @robinoust
    @robinoust 9 ปีที่แล้ว

    Clear, simple and usefull. Thank you very much !

    • @BitmarkerDe
      @BitmarkerDe  9 ปีที่แล้ว

      RobinThoughts I'm glad you like it :)

  • @ethanxu6233
    @ethanxu6233 8 ปีที่แล้ว

    Have you tried to implement a s-function in embedded target, which contains device driver, such as GPIO?

    • @BitmarkerDe
      @BitmarkerDe  8 ปีที่แล้ว

      No, I haven't. It seemed to be not that easy to extend the low level functionality for example of the Arduio Target. But it was more than a year ago, may be MATHWORKS opened that part...

  • @ritugoel2187
    @ritugoel2187 ปีที่แล้ว

    Can you also share the c file for it ?

  • @adnan11583
    @adnan11583 9 ปีที่แล้ว

    How can i set compiler by default in MATlab to cpp?

    • @BitmarkerDe
      @BitmarkerDe  9 ปีที่แล้ว

      Adnan Majeed Have you set the compiler with the "mex -setup" command? Do you get the list of available compilers?

  • @aarony1662
    @aarony1662 6 ปีที่แล้ว

    Great video. Very helpful. Vielen Dank

  • @alimoshkriz3574
    @alimoshkriz3574 8 ปีที่แล้ว

    how can i give my data to s-function? plz heeeeeeeeeeeeeeeeeeeeeeeeeeeeelp

  • @sreeramkristam8647
    @sreeramkristam8647 8 ปีที่แล้ว +1

    Thank you, it helps. :)

  • @ahmedmerzoug163
    @ahmedmerzoug163 8 ปีที่แล้ว +1

    thanks alot for this video very helpful

    • @BitmarkerDe
      @BitmarkerDe  8 ปีที่แล้ว

      I'm glad I could help you :)

  • @amr.a-m8350
    @amr.a-m8350 4 ปีที่แล้ว

    Thank you, it helps

  • @АлександрБерест-ш1б
    @АлександрБерест-ш1б 7 ปีที่แล้ว

    Thank you!

  • @TatsDe
    @TatsDe 9 ปีที่แล้ว

    Very Good: at first I thought you do not know what you are doing :-) - then I realized you intentionally made mistakes. Good work.