Re: MATLAB R2013b Full Crack

0 views
Skip to first unread message
Message has been deleted

Aquilino Neadstine

unread,
Jul 11, 2024, 5:51:50 AM7/11/24
to handmensire

I am new to TI DSPs and find learning and programming pretty tedious and difficult. I'm trying to control 3 phase inverters (6 switches - for IM and PM machines) and also 2 phase switching legs with varying duty cycles and phase shifts (for power converters) using suitable PWM signals on the TMS320F28335 Delfino microcontroller with the Peripheral Explorer c2000 board.

I have configured matlab to do this since I still have major problems with coding. I've also tried SIMCODER (PowerSim), but in this program, the provision to change the switching frequency of the PWM as an input from the ADC is not available. Also, even without using the switching frequency variation, SIMCODER has problems in creating a sinusoidally modulated PWM signal.

MATLAB r2013b full crack


Download File https://vittuv.com/2yMUwi



1. Does anyone have any suggestions about software other than PSIM and MATLAB which can do this easily, without the need to code and also to be able to see the simulation of the whole system with the micro.. in the loop, so to speak.

2. Can anyone share a basic project with code (in CCS V5 - that actually works!) to achieve these functions for the ePWM module, so that I can get an idea of things.. even one properly configured PWM pair will do, I can edit the code from there. It's a bigger problem to write from scratch without any prior experience. Right now I've tried to write code a few times, but I'm not comfortable with the coding environment and it takes a lot of time to get it right. I'm not sure I'll ever be able to do it on my own. I use CCS5 with XDS 100V2 and control suite and a blackhawk emulator, but I don't particularly understand all of it in a high degree of detail

It would also be a great help if anyone could tell me if there is a "simulator" for the TMS320F28335.. a program which could show me what the board will do - at the pins and the LEDs etc. when a certain .out file is uploaded onto it.

Devraj Dutt said:1. Does anyone have any suggestions about software other than PSIM and MATLAB which can do this easily, without the need to code and also to be able to see the simulation of the whole system with the micro.. in the loop, so to speak.

There are no other softwares other than MATLAB for automated code generation. Also, Matlab has complete support only for CCS v3.3 which is not even available now. My suggestion would be to go for core coding techniques for C2000 family. This will ensure you to have complete control over peripherals like ePWMs and ADCs.

Devraj Dutt said:2. Can anyone share a basic project with code (in CCS V5 - that actually works!) to achieve these functions for the ePWM module, so that I can get an idea of things.. even one properly configured PWM pair will do, I can edit the code from there. It's a bigger problem to write from scratch without any prior experience. Right now I've tried to write code a few times, but I'm not comfortable with the coding environment and it takes a lot of time to get it right. I'm not sure I'll ever be able to do it on my own. I use CCS5 with XDS 100V2 and control suite and a blackhawk emulator, but I don't particularly understand all of it in a high degree of detail

Devraj Dutt said:It would also be a great help if anyone could tell me if there is a "simulator" for the TMS320F28335.. a program which could show me what the board will do - at the pins and the LEDs etc. when a certain .out file is uploaded onto it.

Thanks, Dave, for offering to write to the resident of PSIM, but I'm not really sure how that will go! PSIM is brilliant for simulations, as you said. It simulates my PWM switching signals (with microcontroller), a 3 phase inverter bridge receiving those signals (connected to a DC bus) and the electric machine itself, fed from the legs of this bridge perfectly. However, for code generation, it messes up. I want to change the frequency and amplitude of the sinusoidal carrier using the ADCs on the peripheral explorer, but with PSIM code, the ADC conversion is not correct since I get modulated values only at certain positions of the potentiometer and at some other points, I get no modulation at all. I haven't tried VisSim, but I don't think my university has a license and getting a license is going to be too complicated. This is the first time I have met someone who uses it.

Gautam, other than MATLAB, the program called PSIM's capabilities are pretty cool. I recommend you try it at some point. For more simpler code generation, it works very well. Thanks for you comments and the student guide, though. I have the teaching guide from TI and it is pretty cool as well. The only problem being that you actually need to code and not export from a simulation.

In the end, I did write c code to do what I need to, but thank you, for trying to help! I earlier wrote that I would post the code, but on second thought, I prefer to email someone directly in case anyone needs it!

With regard to VisSim, you can download a full featured version for 60 days for free that does code-gen. This might be enough for your needs. Visual Solutions (which is the parent company behind VisSim) was recently acquired by Altair. I know they are pretty university-friendly, so it might be easier than you think to get a license at your university. I really think it would be in the best interest of your university to investigate this. "Model-to-code" is the wave of the future. I think it will eventually do to C coding what C coding did to assembler.

Since a couple of days, I constantly receive the same error while using MATLAB which happens at some point with dlopen. I am pretty new to MATLAB, and that is why I don't know what to do. Google doesn't seem to be helping me either. When I try to make an eigenvector, I get this:

MATLAB dynamically (with dlopen) loads several libraries that need tls initialization. All those libs need a slot in the dtv (dynamic thread vector). Because MATLAB loads several of these libs dynamically at runtime at compile/link time the linker (at mathworks) had no chance to count the slots needed (that's the important part). Now it's the task of the dynamic lib loader to handle such a case at runtime. But this is not easy. To cite dl-open.c:

For static TLS we have to allocate the memory here and now. This includes allocating memory in the DTV. But we cannot change any DTV other than our own. So, if we cannot guarantee that there is room in the DTV we don't even try it and fail the load.

There is a compile time constant (called DTV_SURPLUS, see glibc-source/sysdeps/generic/ldsodefs.h) in the glibc's dynamic lib loader for reserving a number of additional slots for such a mess (dynamically loading libs with static TLS in a multithreading program). In the glibc-Version of Fedora 20 this value is 14.

For the record: In order not to violate MATLAB's license I didn't debug, decompile or disassemble any part of the binaries shipped with MATLAB. I only debugged the free and open glibc-binaries of Fedora 20 that MATLAB were using to dynamically load the libs.

I really tried to explain this to the "MathWorks Technical Support Department". But my impression is: they don't understand me. They closed my support ticket and suggested a telephone(!) conversation in January 2014 with a technical support manager.

Update (2014/03/19): For the file libiomp5.so you can download a newly compiled version (without static TLS) at mathworks, bug report 961964. And the other libs? No improvement there. So don't be suprised to get "dlopen: cannot load any more object with static TLS" with "doc", e.g. see bug report 1003952.

The solution is to inform MATLAB to load the specific library at the earliest of its startup. The reason for this error is apparently due to the lack of slots for this thread local storage aka tls purpose (due to they already been filled-up).

has been updated on 30/01/2014.There is a zip file attached with libiomp5.soI tested it on Mageia 4 x86_64 with Matlab R2013b.I can now use the Documentation of Matlab to open a demo without any problem.

When installing matlab use the custom installation (I did not do this the first time). Choose to create symbolic links to matlab scripts in the predefined folder (/usr/local/bin). This did the trick for me!

I had the same problem with both Matlab 2013b and Matlab 2014a. The fix provided by mathworks for libiomp5.so only removed the problem of LAPACK not working. However, I could not use external libraries which are using OpenMp (such as VL_FEAT): I still get the error "dlopen: cannot load any more object with static TLS."

I came across this problem after "bar" (for bar plots) with a an array gives me just a single blue block, with no errors thrown. Reboot at first solved the problem. But after a memory error (after processing a very large file), I just cannot get past this blue block problem.

Increasing Java heap memory (to 512 mb) also worked for me on R2013b/Ubuntu 12.04. The "BLAS loading error" began when I processed an 11 GB file (with 16 GB RAM), and has not recurred after increasing java heap memory and restarting matlab.

Hi,
I have created a script, that will run current m-file opened in Sublime in Matlab after pressing any custom set key short cut. It will use opened instance of Matlab or will open a new one if none is open. Please find more information on github.com/jirkadus/sublime2matlab. I will be happy for any feedback, as at the moment is is strongly customised for my needs.

I'm trying to use the ROS-Matlab I/O package to publish and subscribe to topics from a roscore on a networked machine. I have gone through the network setup, and this is the current state of the whole system:

I can ping the between the two machines, both by IP and by name. I can netcat between both of them just fine. Using rosmatlab, I can create a node on The-Doctor which is seen by The-Master. I can create a publisher which is also seen by The-Master. The-Doctor can publish data to The-Master and it shows up just fine when I do a "rostopic echo" on The-Master.

The problem is: when The-Doctor tries to subscribe to a topic from The-Master, the callback function defined in the Matlab code never gets called. Just to make sure that I wasn't making any major mistakes, I ran the rosmatlab_basic.m example included with ROS-Matlab I/O, and the subscribers in that example don't work either (even though the publishers do).

b1e95dc632
Reply all
Reply to author
Forward
0 new messages