photo

Valmir Sadiku


University of Applied Sciences Kaiserslautern

Active since 2013

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

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

bijna 9 jaar 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...

ongeveer 9 jaar 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.: ...

ongeveer 9 jaar 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...

ongeveer 9 jaar 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...

meer dan 9 jaar 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...

ongeveer 10 jaar 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...

meer dan 10 jaar 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...

meer dan 10 jaar ago | 6

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

meer dan 10 jaar 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 ...

meer dan 11 jaar 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...

meer dan 11 jaar 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...

meer dan 11 jaar 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

meer dan 11 jaar 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) ...

meer dan 11 jaar 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/>

meer dan 11 jaar ago | 0

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

meer dan 11 jaar 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>

meer dan 11 jaar 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...

meer dan 11 jaar 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...

meer dan 11 jaar 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...

meer dan 11 jaar 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.

meer dan 11 jaar 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...

meer dan 11 jaar ago | 1 answer | 0

1

answer