新手问下A55的原配18 135镜头够用吗一般够用吗

Carrier-based unbalanced phase voltage space vector PWM strategy for asymmetrical parameter type two-phase induction motor drives - ScienceDirect
JavaScript is disabled on your browser. Please enable JavaScript to use all the features on this page., July 2009, Pages Department of Electrical Engineering, Faculty of Engineering, King Mongkut's Institute of Technology Ladkrabang, Bangkok 10250, ThailandShow moreAbstractThis paper proposes a space vector pulse width modulation (SVPWM) method based on a carrier providing unbalanced phase voltages for asymmetrical parameter type two-phase induction motor drives using a three-leg voltage source inverter (VSI). The principle is fully described. The proposed space vector equivalent phase leg reference voltages are derived from conventional ones. With the proposed SVPWM method, the output voltages are displaced at 90° with controllable amplitudes. The validity of the proposed method is verified by both calculated and experimental results.KeywordsCarrier-based space vector PWMAsymmetrical parameter type two-phase induction motorThree-leg voltage source inverterCheck if you have access through your login credentials or your institution.ororRecommended articlesCiting articles (0)Tài li?u A neural-network-based space-vector PWM controller for a three-level - Tài li?u text
Tài li?u A neural-network-based space-vector PWM controller for a three-level voltage-fed inverter induction motor drive doc
660 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 38, NO. 3, MAY/JUNE 2002A Neural-Network-Based Space-Vector PWMController for a Three-Level Voltage-FedInverter Induction Motor DriveSubrata K. Mondal, Member, IEEE, Jo?o O. P. Pinto, Student Member, IEEE, and Bimal K. Bose, Life Fellow, IEEEAbstract—A neural-network-based implementation ofspace-vector modulation (SVM) of a three-level voltage-fedinverter is proposed in this paper that fully covers the linearundermodulation region. A neural network has the advantageof very fast implementation of an SVM algorithm, particularlywhen a dedicated application-specific IC chip is used insteadof a digital signal processor (DSP). A three-level inverter hasa large number of switching states compared to a two-levelinverter and, therefore, the SVM algorithm to be implemented ina neural network is considerably more complex. In the proposedscheme, a three-layer feedforward neural network receives thecommand voltage and angle information at the input and gen-erates symmetrical pulsewidth modulation waves for the threephases with the help of a single timer and simple logic circuits.The artificial-neural-network (ANN)-based modulator distributesswitching states such that neutral-point voltage is balanced inan open-loop manner. The frequency and voltage can be variedfrom zero to full value in the whole undermodulation range. Asimulated DSP-based modulator generates the data which areused to train the network by a backpropagation algorithm inthe MATLAB Neural Network Toolbox. The performance of anopen-loop volts/Hz speed-controlled induction motor drive hasbeen evaluated with the ANN-based modulator and comparedwith that of a conventional DSP-based modulator, and showsexcellent performance. The modulator can be easily applied to avector-controlled drive, and its performance can be extended tothe overmodulation region.Index Terms—Induction motor drive, neural network,space-vector pulsewidth modulation, three-level inverter.I. INTRODUCTIONTHREE-LEVEL insulated-gate-bipolar-transistor (IGBT)-or gate-turn-off-thyristor (GTO)-based voltage-fedconverters have recently become popular for multimegawattdrive applications because of easy voltage sharing of devicesand superior harmonic quality at the output compared toPaper IPCSD 02–005, presented at the 2001 Industry Applications SocietyAnnual Meeting, Chicago, IL, September30–October5,andapprovedfor publi-cation in the IEEE TRANSACTIONSONINDUSTRYAPPLICATIONSby the IndustrialDrives Committee of the IEEE Industry Applications Society. Manuscript sub-mitted for review October 15, 2001 and released for publication March 9, 2002.This work was supported in part by General Motors Advanced Technology Ve-hicles (GMATV) and Capes of Brazil.S. K. Mondal and B. K. Bose are with the Department of Electrical Engi-neering, The University of Tennessee, Knoxville, TN
USA (e-mail:; bbose@utk.edu).J. O. P. Pinto waswith the Department of Electrical Engineering, The Univer-sity of Tennessee, Knoxville, TN
USA. He is now with the Univer-sidade Federal do Mato Grosso do Sul, Campo Grande, MS
Brazil(e-mail: jpinto@utk.edu).Publisher Item Identifier S )05012-0.the conventional two-level converter at the same switchingfrequency. Space-vector pulsewidth modulation (PWM) hasrecently grown as a very popular PWM method for voltage-fedconverter ac drives because it offers the advantages of improvedPWM quality and extended voltage range in the undermodu-lation region. A difficulty of space-vector modulation (SVM)is that it requires complex and time-consuming online com-putation by a digital signal processor (DSP) [1]. The onlinecomputational burden of a DSP can be reduced by using lookuptables. However, the lookup table method tends to give reducedpulsewidth resolution unless it is very large.The application of artificial neural networks (ANNs) isrecently growing in the power electronics and drives areas. Afeedforward ANN basically implements nonlinear input–outputmapping. The computational delay of this mapping becomesnegligible if parallel architecture of the network is imple-mented by application-specific IC (ASIC) chip. A feedforwardcarrier-based PWM technique, such as SVM, can be lookedupon as a nonlinear mapping phenomenon where the commandphase voltages are sampled at the input and the correspondingpulsewidth patterns are established at the output. Therefore,it appears logical that a feedforward backpropagation-typeANN which has high computational capability can implementan SVM algorithm. Note that the ANN has inherent learningcapability that can give improved precision by interpolationunlike the standard lookup table method.This paper describes feedforward ANN-based SVM imple-mentation of a three-level voltage-fed inverter. In the begin-ning, SVM theory for a three-level inverter is reviewed briefly.The general expressions of time segments of inverter voltagevectors for all the regions have been derived and the corre-sponding time intervals are distributed so as to get symmet-rical pulse widths and neutral-point voltage balancing. Basedon these results, turn-on time expressions for switches of thethree phases have been derived and plotted in different modes.A complete modulator is then simulated, and the simulation re-sults help to train the neural network.The performanceof acom-plete volts/Hz-controlled drive system is then evaluated with theANN-based SVM and compared with the equivalent DSP-baseddrive control system. Both static and dynamic performance ap-pear to be excellent.II. SVM STRATEGY FORNEURALNETWORKNeural-network-based SVM for a two-level inverter has beendescribed in the literature [2], [3]. It will now be extended to a$17.00 (C) 2002 IEEEMONDAL et al.: A NEURAL-NETWORK-BASED SPACE VECTOR PWM CONTROLLER 661Fig. 1. Schematic diagram of three-level inverter with induction motor load.Fig. 2. Open-loop volts/Hz speed control using the proposedneural-network-based PWM controller.three-level inverter. Of course, the SVM implementation for athree-level inverter is considerably more complex than that of atwo-level inverter [1], [4]–[7]. Fig. 1 shows the schematic dia-gram of a three-level IGBT inverter with induction motor load.For ac–dc–ac power conversion, a similar unit is connectedat the input in an inverse manner. The phase, for example,gets the state(positive bus voltage) when the switchesand are closed, whereas it gets the state (negativebus voltage) whenand are closed. At neutral-pointclamping, the phase gets thestate when either orconducts depending on positive or negative phase currentpolarity, respectively. For neutral-point voltage balancing, theaverage current injected atshould be zero. Fig. 2 shows thevolts/Hz-controlled induction motor drive with the proposedANN-based space-vector PWM which will be described later.The neural network receives the voltageandanglesignals at the input as shown, and generates thePWM pulses for the inverter. For a vector-controlled drive withsynchronous current control, the ANN will have an additionalvoltage component, which is shown to be zero in thiscase. The switching states of the inverter are summarized inTable I, where, and are the phases and , andare dc-bus points, as indicated before. Fig. 3(a) shows therepresentation of the space voltage vectors for the inverter, andFig. 3(b) shows the same figure withswitching statesindicating that each phase can have,or state. Thereare 24 active states and the remaining are zero states,, and that lie at the origin. Evidently, neutralcurrent will flow through the pointin all the states exceptthe zero states and outer hexagon corner states. As shown inFig. 3(a), the hexagon has six sectors– as shown and eachsector has four regions (1–4), giving altogether 24 regions ofTABLE ISWITCHINGSTATES OF THEINVERTER(X = U; V; W)operation. The inner hexagon covering region 1 of each sectoris highlighted. The command voltage vectortrajectory,shown by a circle, can expand from zero to that inscribed in thelarger hexagon in the undermodulation region. The maximumlimit of the undermodulation region is reached when the modu-lation factorwhere ( commandor reference voltage magnitude andpeak value ofphase fundamental voltage at square-wave condition). Notethat a three-level inverter must operate below the square-wavecondition.A. Operation Modes and Derivation of Turn-On TimesIn this paper, as indicated in Fig. 3(a), mode 1 is defined if thetrajectory is within the inner hexagon, whereas mode 2 is de-fined for operation outside the inner hexagon. In a hybrid mode(covering modes 1 and 2), thetrajectory will pass throughregions 1 and 3 of all the sectors. In space-vector PWM, the in-vertervoltage vectors correspondingto the apexesof the trianglewhich includes the reference voltage vector are generally se-lected to minimize harmonics at the output. Fig. 3(c) shows thesectortriangle formed by the voltage vectors , and .If the command vectoris in region 3 as shown, the followingtwo equations should be satisfied for space-vector PWM:(1)(2)where, , and are the respective vector time intervalsandsampling time. Table II shows the analytical timeexpressions for, , and for all the regions in the six sec-tors wherecommand voltage vector angle [see Fig. 3(c)]and( command voltage and dc-linkvoltage). These time intervalsare distributed appropriately so asto generate symmetrical PWM pulses with neutral-point voltagebalancing. Table III shows the summary of selected switchingsequences of phase voltages for all the regions in the six sec-tors [4]. Note that the sequence in opposite sectors (– , – ,and– ) is selected to be of a complimentary nature for neu-tral-point voltage balancing. Fig. 4 shows the correspondingPWM waves of the three phases in all the four regions of sector. Each switching pattern during is repeated inverselyin the nextinterval with appropriate segmentation of ,, and intervals in order to generate symmetrical PWMwaves. The figure also indicates, for example, turn-on time of-and-states of phase voltage in mode1. These wave patterns are, respectively, defined as pulsed andnotched waves. It can be shown that similar wave patterns arealso valid for the sectorsand (odd sector). If PWM wavesare plotted in the even sector (or ), it can be shown thatstates appear as notched waves whereas states appear as662 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 38, NO. 3, MAY/JUNE 2002Fig. 3. Space voltage vectors of a three-level inverter. (a) Space-vectordiagram showing different sectors and regions. (b) Space-vector diagram showing switchingstates. (c) SectorAspace vectors indicating switching times.pulsed waves. The turn-on times for different phases can be de-rived with the help of Table II and Fig. 4 for all the regions in thesix sectors. For example, the phase-turn-on time expressionsin mode 1 can be derived as-forforforforforfor(3)-forforforforforfor(4)whereand denotes the sector name.Similarly, the corresponding expressions for mode 2 can bederived as shown in (5) and (6), shown at the bottom of the nextpage, whereindicates the region number. Similar equationscan also be derived forand phases. Because of waveformsymmetry, the turn-off times (see Fig. 4) can be given as- -(7)- -(8)and the correspondingand state pulsewidths are evidentfrom the figure. The remaining time interval in a phase corre-sponds to zero state as indicated. Equations (3) and (4) can beexpressed in the general form-(9)whereis the bias time and turn-on signalat unit voltage. Fig. 5 shows the plot of (9) for bothandstates at several magnitudesof . Mode1 ends when the curvesreach the saturation level. Both the functions aresymmetrical but are opposite in phase. Fig. 6 shows the sim-ilar plots of (5) and (6) in mode 2 which are at higher voltages.Note that the curves are not symmetrical because of saturationat. The saturation of-in sector mode 2 is evi-dent from the waveforms of Fig. 4(b)–(d). Mode 2 ends in theupper limit when the turn-on time curves touch the zero line.For phasesand , the curves in Figs. 5 and 6 are similar butmutually phase shifted byangle. Note that both-and-vary linearly with magnitude in the whole un-dermodulation range except the saturation regions. It is possibleto superimpose both Figs. 5 and 6 with the common bias timeand variable .The digital word corresponding toas afunction of angle for both and states in all the phasesand in all the modes can be generated by simulation for traininga neural network. Then,-and-values can besolved from the equations corresponding to the superimposedFigs. 5 and 6.MONDAL et al.: A NEURAL-NETWORK-BASED SPACE VECTOR PWM CONTROLLER 663III. NEURAL-NETWORK-BASEDSPACE-VECTORPWMThe derivation of turn-on times and the correspondingfunctions, as discussed above, permits neural-network-basedSVM implementation using two separate sections: one is theneural net section that generates thefunction from theangleand the other is linear multiplication with the voltagesignal. Fig. 7 shows the neural network topology with theperipheral circuits to generate the PWM waves. It consists of a1–24–12 network with sigmoidal activation function for middleand output layers. The network receives theangle at theinput and generates 12 turn-on time signals as shown with fouroutputs for each phase (i.e., two forand two for states)which are correspondingly defined as, ,, and for phase . This segmentationcomplexity is introduced for avoiding sector identification anduse of only one timer at the output which will be explainedlater. These outputs are multiplied by the signal, scaled bythe factor, and digital words-are generated for eachchannel as indicated in the figure. These signals are comparedwith the output of a singleUP/DOWNcounter and processedthrough a logic block to generate the PWM outputs.-forforforforforforforforforfor(5)-forforforforforforforforforfor(6)664 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 38, NO. 3, MAY/JUNE 2002TABLE IIANALYTICALTIMEEXPRESSIONS OFVOLTAGEVECTORS INDIFFERENTREGIONS ANDSECTORSTABLE IIISEQUENCING OFSWITCHINGSTATES INDIFFERENTSECTORS ANDREGIONSA. ANN Output Signal Segmentation and ProcessingIt was mentioned before that, in the PWM waves of the oddsector,or , states appear as pulsed waves andstates appearas notched waves (see Fig. 4). On the other hand, inthe even sector,or states appear as notched wavesandstates appear as pulsed waves. This can be easily veri-fied by drawing waveforms in any of these sectors. In order toavoid a sector identification (odd or even) problem and use onlyone timer, the ANN output signals are segmented and processedthrough logic circuits to generate the PWM waves. As men-Fig. 4. Waveforms showing sequence of switching states for the four regionsin sectorA. (a) Region 1(? =30 ). (b) Region 2(? =15 ). (c) Region 3(? =30 ). (d) Region 4(? =45 ).tioned above, each phase output signal is resolved into andpairs of component signals. The segmentation and processing
Tài li?u liên quanI am not quite sure why I get this error message:
[Error!!!] has continuous states, but doesn't have a mdlDerivatives routine.
While I have both &mdlDerivatives routine& and continuous states S-fucntion!
Help please
211266 articles.
15 followers.
is leader.
2065 Views
[PageSpeed]
Similar Artilces:
When trying to simulate simulink model that contains an S-Function ...I get the following error message:
S-function 'filename.c' has continuous states, but doesn't have a mdlDerivatives routine.
Also, compiling the s-function I do not get a .dll file but .mexw32 file
does this mean that it has nto been compiled?
...Hi to everybody,
I created the file forward.dll using the command:
mex -DWIN32 -output forward model_d.c model_s.c sdlib.c assigns.c contact.c
derivs.c gmc.c impact.c inits.c invert.c lcp_solver.c lmdif_c.c mathtools.c
object.c output.c pipetools.c readmuscles.c readtools.c sdfor.c
spring_based.c wrapping.c gcvspl.c user_def.lib forward.lib acpp.lib
qhull.lib solid.lib wrap.lib
I need to run the command:
set_param([subsystemname,'/','S-Function'],'function
name','forward','parameters','[0],[0],[0],[0],[0],[0],[1 0 0 0 20],[0]');
...Hi everyone,
I'm trying to write code for the c2d function in Matlab - where the inputs are state matrices A, B, C, D, and a delta time-step. The outputs are [phi] and [gamma], the a and b matrices of the new, discrete state representation.
I'm not sure where to start. Can anyone offer any suggestions?
Using MatLab's 'movie' function you can play a movie recorded by the
'getframe' command. It is possible to specify the number of times the
movie is played and the frames per second.
Unfortunately, I've not found a way to stop the playback of a movie.
Is it possible to, let's say I've specified the movie should be played
20 times, to disrupt the playback after an user interrupt?!
Thanks a lot,
On Sat, 12 Feb :06 +0100, Christoph ROLZ wrote:
&Using MatLab's 'movie' function you can play a movie recorded by the
&'getframe' command. It is possible to specify the number of times the
&movie is played and the frames per second.
&Unfortunately, I've not found a way to stop the playback of a movie.
&Is it possible to, let's say I've specified the movie should be
&20 times, to disrupt the playback after an user interrupt?!
&Thanks a lot,
if you want to play the movie, tried thi command
index is the number of frame in video file.
index = 1:100
mov = aviread('filename',index)
for i = 1: 100
frame = mov(i).
imshow(frame)
Please try it.
...I have one question: Is Matlab's 'graycomatrix' function actually in
accordance with original Haralick's 1973 paper?
I mean, are they supposed to be the same algorithm? If yes, I don't
think Matlab did a good job on this.
For example, try it on this matrix (i.e., 'image'):
This matrix is in Haralick's original paper and the results can be
Can anybody ellaborate if you used it?
Thank you.
&Bulent Bayraktar& &bayrakta@purdue.edu& writes:
& I have one question: Is Matlab's 'graycomatrix' function actually in
& accordance with original Haralick's 1973 paper?
& I mean, are they supposed to be the same algorithm? If yes, I don't
& think Matlab did a good job on this.
& For example, try it on this matrix (i.e., 'image'):
& This matrix is in Haralick's original paper and the results can be
& compared.
& Can anybody ellaborate if you used it?
You do need to understand a bit about the conventions used in the software you
are using.
For example, the Image Processing Toolbox's default black-to-white
range for double-precision inputs is [0, 1].
The reference page for
graycomatrix describes in detail what it does.
By default, for example, it
quantizes the range [0, 1] into 8 levels, resulting in an 8-by-8 co-occurrence
But for your matrix, it is seeing 5 &qu...Dear.....Sir
I have a problem in when simulink program run in Matlab enviroment.
error message is shown in below.
what can i solve that?
thanks u so much
Warning: Running low on memory.
Simulation will terminate in approximately
Warning: Running low on memory.
Simulation will terminate in approximately
Warning: Running low on memory.
Simulation will terminate in approximately
...Hi All,
I use Matlab 6 which is used with some worksheets.
Currently the spreadsheet uses a macro that calls some files &.m& as the command:
Shell ( &C:\ matlab\bin\win32\MATLAB.EXE /r CALCULATE&)
The problem is if it running in this manner, it doesn't gives an error when processing.
If there are any errors the program, it is running indefinitely.
Not so if we open the Matlab and execute manually.
In this case, the program says that the line is wrong and stop execution.
Is there a setting that makes Matlab always acknowledge the mistakes and stop the execution?
&Valcler& && wrote in message
news:292.1.JavaMail.root@gallium.mathforum.org...
& I use Matlab 6 which is used with some worksheets.
& Currently the spreadsheet uses a macro that calls some files &.m& as the
& command:
& Shell ( &C:\ matlab\bin\win32\MATLAB.EXE /r CALCULATE&)
& The problem is if it running in this manner, it doesn't gives an error
& when processing.
& If there are any errors the program, it is running indefinitely.
Wrap your code in a TRY/CATCH and make sure you call EXIT after the
TRY/CATCH block completes.
I don't know how the macro handles multiple sets
of quotes, so I'll write it how it would work from the system prompt and
you'll have to adapt it to fit the macro's requirements.
C:\ matlab\bin\win3...Hello again,
I'm trying to index a vector using one of the inputs of a Simulink's 'MATLAB Function' block. My MATLAB Function is as follows:
function y = fcn(sect,sect0,vdc)%,reg,vdc,vr,vvr)
if sect~=sect0
h = get(gcf,'UserData');
set(h(sect),'Visible','on')
The error I get for trying to use the block input 'sect' to index 'h' is as follows:
Subscripting into an mxArray is not supported.
Function 'Space Vector PWM VSI Induction Motor Drive/SVM generator/MATLAB Functi...Hey everyone,
I am stuck with a problem concerning the MATLAB Compiler.
I want to compile a simple function into a shared C library. Everything works properly except when I use a function from a toolbox. In this example it would be the &hann.m& function of the signal processing toolbox. Standard MATLAB code works without issues.
The code compiles without error but &hann& doesn't seem to be included in the library, since the dll throws an error &Undefined function 'hann' for input arguments of type 'double'& on the Windows commandline (input parameter is checked and correct).
This is reproduceable for functions of every other toolbox that is licensed on my machine.
mccExcludedFiles.log doesn't list an excluded file.
When I pass -v to the mcc command, in the log the &Processing ...\mcc.enc& entry is missing that would lead me to believe that any toolbox is evaluated and considered in the compiling process.
Adding the functions via the &-a& option as well as in the code using the %#function pragma doesn't help.
What am I missing? Any missing option? Thanks in advance!
Used command:
&& mcc -W lib:MATLAB_myfunctionMCR -T link:lib myfunction.m
function iResult = myfunction()
vWin = hann(128);
% just return a meaningless scalar
% for this purpose
iResult = mean(vWin);
Version 8.3
MATLAB Compiler
Version 5.1
On 08/22/...Hi!
I have met with the following problem:
When I put in my model the Simulink's MATLAB Fcn block, which output
a vector of reals, I get the following error:
&Evaluation of expression resulted in an invalid output. Only finite
vector or matrix outputs are supported.&
I am specifying the corrects option in &Output dimensions:& - 3 in my
&Output signal type:& - &real&.
This problem appeared at Matlab 6.5 (R13) under UNIX, before that
everything worked fine in Matlab 6.1 (R12.1) under Win..
Has anyone met ...hi all
is there 'any' function block in simulink
like the one in matlab
tak for din sko !!
I think you have to make one yourself.
Just an idea:
-& Insert vector into &~=0& block and insert the outgoing
vector into a Sum block (with one port only). The output is
zero if all elements in the vector are zero and 1 otherwise.
i tried that
it gives the end value which is
any other !!
thanks a lot anyway
&A & &dragonboy.& wrote in message
&fcrdan$kmf$1@&...
& i tried that
& it g...I am trying to run the available code on this website /p/matlabcontrol/downloads/list to my Netbeans IDE environment but I am getting error that this package doesn't exist but I read the documentation about and there is indeed a library for it so not sure whats wrong? Its basically code to integrate matlab and Java and If I run the Jar from the link above its working but want to see the code myself and test it and it says it should work if I move all the code to my environment.
This is the line that cause the trouble import com.mathworks.jmi.NativeM
It says th...how do i use/call a base workspace variable inside a simulink's
embedded function?
i'm actually trying to get my simulink model to spit out data to com1
using something like:
fwrite(ssc,[255, servo, value],'uchar');
where ssc is a serial port object defined by something like
ssc = serial('com1')
this is what i want to do ultimately
s = serial('COM3');
set(s,'BaudRate',9600);
set(s,'DataBits',8);
set(s,'StopBits',1);
set(s,'FlowControl','none');
fwrite(ssc,[255, u(1), u(2)],&#39...When using an embedded matlab function block, using exactly the same
code that I had working in an ordinary matlab function, I get make
errors, always with the line:
/bin/bash: line 1: make: command not found
Can anyone help?
It looks like you do not have 'make' on your path. What operating
system/platform are you using?
Try running
&& mex -setup
from MATLAB. That should fix this problem.
Good luck.
Robert Durnford wrote:
& When using an embedded matlab function block, using exactly the
& code that I had working in a...Hey All,
I am trying to use bash's `continue' built-in.
Shouldn't be that big
of a deal, but it is doing funny things that I don't understand.
Consider this script:
#! /bin/bash
echo &Starting program...&
for X in &a& &b& &c& &d&; do
Starting a loop iteration for \`$X'...&
if [ 1 ]; then
Starting outer condition...&
echo $X | if ! grep -qE &a|c&; then
# $X should be either `b' or `d'.
Gr...Hello,
I have written a new class 'BezierCurve' and put this constructor in
a @BezierCurve directory.
That directory is also contain a method of that class (the method
name is 'DrawBezierCurve').
There is a 'Main' function, outside the @BezierCurve directory, that
calls the 'BezierCurve' constructor, and it works fine, but
afterwards when the 'Main' function calls the 'DrawBezierCurve'
method (for a 'BezierCurve' object) i get the message:
??? Undefined command/function 'DrawBezierCurve'.
why does not it &see& that me...Has anyone ever received the following error when trying to run the
matlab function 'rows':
Undefined command/function 'rows'.
My programs were running fine, and now all of the sudden 'rows' and
'sumc' and 'cols' simply don't work. I always get the Undefined error
message. I have checked and double checked my paths, reinstalled etc.
I simply don't know how to get it to work.
Any ideas?
Univ. of Wyoming
Dept. of Econ & Finance
&Has anyone ever received the following error when trying t...Hey all,
I'm trying to convert a .m file into something usable by a user defined function block in simulink but am having trouble with the following style of equation:
x = exp([-y:y]);
where y is an integer which normally has a value between 40 and 120.
Running this through simulink results in the following error:
------------------------------------------------
Computed maximum size of the output of function 'colon' is not bounded.
Static memory allocation requires all sizes to be bounded.
The computed size is [1 x :?].
Function 'testing.m'
line 8, column 14:
&...I have inherited a simulink model which has an embedded MATLAB function block. On compile, I get this error:
Error reported by S-function 'sf_sfun' in 'BaseModel/TopBlock/Embedded Subsystem/CustomFunc/ SFunction ':
Errors occurred during parsing of Embedded MATLAB function 'TopBlock/Embedded Subsystem/CustomFunc'(#18).
Any ideas?
...It seems as if parfor doesn't work when it's in a funciton that's called externally.
I made a very simple example to demonstrate this:
-----------------------------------------------
WORKING CODE:
-----------------------------------------------
matlabpool open local 4
parfor (i=1:4)
matlabpool close
---------------------------------------------
NOT WORKING CODE:
---------------------------------------------
function g = tempFunction(a)
matlabpool open local 4
parfor (i=1:4)
matlabpool clo...I can publish files to HTML, but when trying to publish to PDF, the following error messages result. What is the problem? How do I fix it?
EDU&& publish('hw6solutions','pdf')
??? Java exception occurred:
java.io.FileNotFoundException:
/Applications/MATLAB_R2011a_Student.app/toolbox/matlab/codetools/private/fop_config.xml
(No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.&init&(FileInputStream.java:120)
at java.io.FileInputStream.&init&(FileInputStream.java:79)
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:...I have Just written a simple code to calculate the Sampling Error between 2 signals in a M file and included it in the 'Embedded MATLAB Function' Block of Simulink. Whenever I try to run this model, it shows me the following error:
Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds.
Use 'mex -setup' to select a supported compiler.
The mex setup says I have no compilers found.
Please help me with a direct solution to his problem
...I've got a dialog with som stuff in it, including a wxTextCtrl and a
wxComboBox, contained in sizers.
There are also some buttons.
dialog is generated by wxGlade 0.2.3.
I have a custom validator derived from wxGenericValidator that I
connect to the wxTextCtrl like this (unfortunately, I have to write
this from memory):
textVal = new URLValidator(url);
textVal-&SetWindow(text_ctrl_1);
text_ctrl_1-&SetValidator(textVal);
URLValidator is nothing more than wxGenericValidator with it's own
Validate() method.
It says in the documentation somewhere that if I cal...Im trying to connect client side applet with remote server using RMI.
At first all things going ok and the remote object returns the output
correctly. But when i try to modify the client side applet to call
another method in the remote object, its still returning the output of
the old method.
I tried to restart the server, restart the rmiegistry
and compile all the code again but still the problem exist. But when i
restart my computer and run the application the result would be the
output of the new method.
it doesn't make sense but that's how it's.
Sorry for long message&
Web resources about - [S-Function in Simulink/Matlab Error!!!] has continuous states, but doesn't have a mdlDerivatives routine. - comp.soft-sys.matlab
Resources last updated: 3/25/:04 AM

我要回帖

更多关于 佳能18 55镜头够用吗 的文章

 

随机推荐