Community Profile

photo

Valmir Sadiku


University of Applied Sciences Kaiserslautern

22 total contributions since 2013

Contact

Valmir Sadiku's Badges

  • 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...

circa 4 anni 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...

circa 4 anni 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.: ...

circa 4 anni 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...

circa 4 anni 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...

oltre 4 anni 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...

circa 5 anni 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...

oltre 5 anni 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...

oltre 5 anni 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...

oltre 5 anni 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 ...

oltre 6 anni 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...

oltre 6 anni 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...

oltre 6 anni 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

oltre 6 anni 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) ...

oltre 6 anni 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/>

oltre 6 anni ago | 0

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

oltre 6 anni ago | 0

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>

oltre 6 anni 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...

oltre 6 anni 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...

oltre 6 anni 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...

oltre 6 anni 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.

oltre 6 anni 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...

oltre 6 anni ago | 1 answer | 0

1

answer