Community Profile

photo

Valmir Sadiku


University of Applied Sciences Kaiserslautern

22 total contributions since 2013

Contact

Valmir Sadiku's Badges

  • First Review
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Question


S Function error: source file is included more than once
Hello Everyone, I have build two S-Functions and each of them includes an external file (Custom.c, Custom.h). If I build code...

4 years ago | 0 answers | 0

0

answers

Answered
check if user pressed the button "OK" in msgbox
I solved it by using dialog and adding an callback to the button. Maybe not the simplest solution, but it is a solution which wo...

4 years ago | 0

| accepted

Question


check if user pressed the button "OK" in msgbox
I want to show some message to the user and then check if he proceed with pressing button or if he closed the dialogue. e.g.: ...

4 years ago | 2 answers | 0

2

answers

Answered
Unable to generate code for STM32
I have basically the same issues by generating the code for the STM32 : *An installed compiler was not detected...* If I chec...

4 years ago | 0

Question


How to link libraries from Raspberry Pi in S-Functions?
I'm trying to build a S-Function in Simulink with the Raspberry Pi Support Package. Actually i need to link libraries (which li...

4 years ago | 0 answers | 0

0

answers

Question


Why MCC doesnt work although I have the MATLAB Compiler license?
Hello guys, I am trying to compile a simple m-file (just adds two numbers), but Matlab says: Undefined function 'm...

5 years ago | 1 answer | 0

1

answer

Answered
Data acquistion with Simulink 2012b and Arduino UNO
I tried two years ago and it worked for me fine. The attached picture shows you, how you can build a simple analog read from ard...

5 years ago | 0

Answered
simulink scope problem with data not showing
It might be solve your problem, if you set the 'limit data points' parameter on the scope higher or just uncheck this limitation...

5 years ago | 2

| accepted

Question


Unable to find the external s-functions???
Im trying to add external devices via the s-functions for the external mode and this works well as long i add the additional s-f...

5 years ago | 0 answers | 0

0

answers

Answered
Can I modify how a native Simulink block is auto-coded?
One possible way to do that are: # Right-Click on your subsystem -> select 'Block Parameter (Subsystem)' # Select 'Treat as ...

6 years ago | 0

Answered
Can arduino receive and send information through its serial port to a simulink model on a pc?
Of course, i tried that in the past and it works fine with the 'Serial Receive'- and 'Serial Send'-Blocks. You can run into tr...

6 years ago | 0

Question


The scope doesn't work with Real-Time Windows Target.
Hi, I am using the 'Stream Input'-Block from the 'Real-Time Windows Target'-Toolbox to read data from the usb com-port. Ever...

6 years ago | 0 answers | 0

0

answers

Answered
Hi anyone explain me about GENERATE and GENERATE_TYPE Functions in tlc file?
here you can show example how to use GENERATE : http://www.weizmann.ac.il/matlab/toolbox/rtw/tlc_ref/cp_lan17.html

6 years ago | 0

Answered
Solve an equation of fourth degree with two variables
i don't know what you are trying with this command x1_sol=x_sol(1); because the size of the x_sol are: >> size(x_sol) ...

6 years ago | 0

| accepted

Answered
Problem in serial communication in Simuilnk
one possible solution is to use 'Real-Time Windows Target' :<http://www.mathworks.de/products/rtwt/>

6 years ago | 0

Answered
Code generation for subsystem only
right click on the subsystem then go to 'C/C++ Code' and select 'Build This Subsystem'

6 years ago | 1

Answered
how to change simulink block properties from matlab pogram?
Then maybe this will help you: <http://www.mathworks.de/de/help/simulink/slref/block-specific-parameters.html>

6 years ago | 0

Answered
how to change simulink block properties from matlab pogram?
Hello, One possible way are that you use parameter in your 3-phase fault block. Then write an M-File in which you can gene...

6 years ago | 0

Answered
Simulink/stateflow code generation - putting model name in variable prefixes, how to stop this?
Hello, I dont know which coder you use, but i can explain it for the Embedded Coder: 1) open the 'Model Configuration Pa...

6 years ago | 1

| accepted

Question


How to set the output port type in dependence on an parameter - S Function
Hello, i'm trying to write an S-Function which allows to set the output port type dependence on one of the parameter? What...

6 years ago | 1 answer | 0

1

answer

Answered
How do I use symulink to receive a serial mesage from a Ublox-6 gps?
I have in mind that it will be work with the "Serial Receive"-Block from the Instrument Control Toolbox.

6 years ago | 0

Question


I2C object creation in Simulink
Hi, im trying to create an i2c object in simulink for reading an sensor. In Matlab every thing works fine and i can read the...

6 years ago | 1 answer | 0

1

answer