What possibilities do I have for using MATLAB home with STM32F4 target hardware ?

I have purchased the MATLAB Home Version, including Simulink. I can work on the Raspberry Pi target hardware and I was wondering what possibilities I have to work with STM32F4 target hardware. Do I need another component ? It seems like it is not possible to purchase Embedded Coder for home use.
Can someone please help ?

 Réponse acceptée

You cannot purchase Embedded Coder or Simulink Coder or MATLAB Coder or HDL Coder for the Home license; you are limited to arduino and raspberry pi and any similar device they have included with base MATLAB.

1 commentaire

I have purchased recently a PYNQ-Z2 board which has a Zynq 7000 FPGA.
Does this incude any of the above mentioned coders with the home base MATLAB?

Connectez-vous pour commenter.

Plus de réponses (3)

Ok, thanks. Is there a way to extract the generated code from models so that I can use it for another platform ?

1 commentaire

You cannot generate code for models without the above toolboxes, except whatever you can do for arduino or raspberry.

Connectez-vous pour commenter.

Hello, is there a reason, why it is not possible to get those toolboxes for Home-Version? I only want to code my STM32F4DISCOVERY.

5 commentaires

There is a reason, but I do not know what the reason is.
I can only speculate:
  • maybe there are patents or license agreements that somehow interfere with this. If not directly then maybe there are royalties involved
  • it might have to do with regulations that exist in a number of countries that say that the government is entitled to the best price offered. This leads manufacturers to create products with tiered capabilities, that their discount products are deliberately less capable so that they do not get governments pointing to fully-capable discount products and demanding the same pricing
  • it might be pure marketing for reasons that escape me
  • it might be lack of trust. Someone who obtains a Home license and proceeds to use it in a form-profit manner cannot do a huge amount of economic damage because as they start delivering MATLAB-based products to other people, those other people would need to obtain licenses to run the software. However, if someone obtains a Home license with code generation capability, they would have the capability for mass distribution of software that Mathworks would not be paid for in any way. The existing code generation products are pretty expensive, something over $US8000 for a MATLAB Coder license, which in part represents "opportunity cost", recognition that anyone who receives the software so compiled is not going to need a Mathworks license.
Counter-point:
In the time since the late-December 2015 discussion, above, Mathworks released R2016a, the Student Version of which allows add-ons of MATLAB Coder, and Simulink Coder. This weakens some of the above potential reasons.
I don't know. Maybe it is in the works, maybe it isn't. I don't get told.
timo
timo le 13 Mar 2016
Modifié(e) : timo le 13 Mar 2016
Thats is nonsense.
Matlab home edition is already limited (example there is a max nr of Simulink blocks in a model) Anyway , why would Mathorks then release for Home Edition the parallel toolbox ?! That is for sure outside the normal hobby usage of Home edition (for massive parallel jobs..HOME USAGE ?! Really ?!)
Mathematica Home edition offer the FULL functionality of Mathematica (code generation included) How is this possible?
PS: if connect LEGO NXT to to simulink model and i put breakpoint in my model i can browse in the temporary folder and see all the C generated code from the model ;) I found a lot of interesting things , like simulink uses OSEK tasks to run the model , etc. OOPS , i guess Mathorks engineers slipped that. What about MEX file compilation, in 2015 i got some warnings that its disabled for Home edition and then i installed Fixed point toolbox and the warnning disappeared :))
I assure you, that when I was in government, I pushed companies on why they were not giving us the discount price. My budgets were continually being cut, but I was continually expected to provide better service. Do I keep hardware support on the supercomputer that we rely on, or do I keep software that only some of us used but was important to those people? Do I force a team that has put a person-decade of effort with one development language to switch development languages, or do I remind a vendor that under government contracting rules, their discount software could not have the same capabilities as what we were paying full price for?
Anyway MATLAB home edition is limited (Simulink max nr of blocks for example). If they offer Coder for student edition they should offer it also for Home. I dont see this having any disadvantage, and it would also prevent piracy.Maybe an official respone from Mathworks ? I sent them a lot of questions about this but i didnt get an answer -_-'' Anyway i wont renew my licenses if there are no significants updates for the Home Edition
I have the same issue and not had a reply , I have just spent nearly £300 on home version and toolkits and only now seeing that I can't generate C ode for STM 32 or other MCU , this is very limiting and not made clear at point of purchase.

Connectez-vous pour commenter.

timo
timo le 13 Mar 2016
Modifié(e) : timo le 13 Mar 2016
Matlab 2015a ,if connect LEGO NXT(might work the same for Arduino) to to simulink model and i put breakpoint in my model i can browse in the temporary folder and see all the C generated code from the model ;) I found a lot of interesting things , like simulink uses OSEK(an OS version ported by a Japanese guy based on Automotive specifications) tasks to run the model , etc.
nxtOSEK is an open source platform for LEGO MINDSTORMS NXT. nxtOSEK consists of device driver of leJOS NXJ C/Assembly source code, TOPPERS/ATK (Automotive Kernel, formerly known as TOPPERS/OSEK) and TOPPERS/JSP Real-Time Operating System source code that includes ARM7 (ATMEL AT91SAM7S256) specific porting part, and glue code to make them work together

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by